c# - Add List<T> to beginning of another List<T> -


i'm looking way add list beginning of list (specifically, strings).

i have found list.insert method, single object.

i have thought each loop insert item, add them backwards.

how can this?

thanks.

you can use list.insertrange:

list.insertrange(0, otherstrings); 

Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -