i have a C# application in which i\'d like to get from a List of Project objects , another List which contains distinct objects.
List
i trie
List passData = (List)TempData["passData_Select_BankName_List"]; passData = passData?.DistinctBy(b=>b.BankNm).ToList();
It will Works ......