I have some code like this.
List<CustomStruct> myList = new List<CustomStruct>();
I want to copy the list of only "int a;" into a new array.
This of course will not work, but something along the lines of.
int myArray = new int[myList.Count];
Thanks for you input.