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