how to access the first element in a list in c# code example Example: c# first item i list var first_item = list.First();