C Sharp (C#) - LINQ Fundamentals
Which LINQ method would you use to create a new list containing only the names from a list of
Person objects?Person objects?Select method transforms each element into a new form, such as extracting a property.Person objectsSelect with p => p.Name creates a list of names.Select -> Option ASelect = Transform [OK]Select to pick specific properties from objects [OK]Where to extract propertiesSelect with OrderBy15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions