select specific columns from list in c# using linq code example
Example: c# linq select specific columns
return custQuery.Select(item => item.Name
).ToList();
return custQuery.Select(item => item.Name
).ToList();