Support Forums

Full Version: How do you create an array in C sharp?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In java you can write:

nat[n++] = new Nation(ReadString);

Is the following line alright:

nat[n++] = new Nation(ReadString);
http://msdn.microsoft.com/en-us/library/...s.71).aspx
http://www.dotnetperls.com/array

Read through those and see where you're at with the fundamentals of arrays Smile
This should really go in the .net section.
THANK YOU FOR YOUR INFORMATION