How do you do alias in Select method (LINQ)

Viewed 22073

I'm trying to alias the string list with a named column:

var providers = EMRRepository.GetProviders().Select(x => x as name);

where 'GetProviders()' returns a List<string>

2 Answers
Related