remove first element from list 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);