Is there some way to optimize this query ?
_alternatives.Cast<AlternativePartName>()
.Where(alt => original.ToLower() == alt.CompName)
.Select(alt => alt.AltCompName).ToList();
I am profiling my application and this code is one of the bottlenecks 196 ms but it executed a lot of times.