c# - Can you insert at position 0 in a List<MyObject>? -
I need to insert an object at the beginning of a collection.
My colleciton type list
How can I do this?
Sure you can; For example, a general list of wires:
list & lt; String & gt; Value = new list & lt; String & gt; (); Values.Instert (0, "NewString");
Comments
Post a Comment