M
muscha
Hello,
What's the easiest way to convert List -> Array in c#? Say for example the
same thing like in Java:
List list = new ArrayList();
Item[] items = (Item[]) list.toArray(new Item[list.size()]);
Is there a way to do this?
Thanks heaps,
/m
What's the easiest way to convert List -> Array in c#? Say for example the
same thing like in Java:
List list = new ArrayList();
Item[] items = (Item[]) list.toArray(new Item[list.size()]);
Is there a way to do this?
Thanks heaps,
/m