c# add item to beginning of list code example
Example 1: add variable to the beginning of a list c#
list.Insert(0, element);
Example 2: how to add item in list at first position c#
List<T>.Insert(0, item);
list.Insert(0, element);
List<T>.Insert(0, item);