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

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -