how to remove the first element of a list in c# code example
Example 1: c# array remove first element
string[] arr = { "a", "b", "a" };
arr = arr.Skip(1).ToArray();
Example 2: remove first object from list c#
listName.RemoveAt(0);
string[] arr = { "a", "b", "a" };
arr = arr.Skip(1).ToArray();
listName.RemoveAt(0);