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