Q:

How would I get an object from a list of a custom class? 

I have a class called Student, it includes a name, and a few grades which don't matter too much for this issue.  How would I select a single student by his name from a List object? 

A:

students. FirstOrDefault(s => s.Name == studentName);

