Support Forums
How do you create an array in C sharp? - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Java Programming (https://www.supportforums.net/forumdisplay.php?fid=22)
+---- Thread: How do you create an array in C sharp? (/showthread.php?tid=25174)



How do you create an array in C sharp? - wholegrain - 02-15-2012

In java you can write:

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

Is the following line alright:

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


RE: How do you create an array in C sharp? - AceInfinity - 02-16-2012

http://msdn.microsoft.com/en-us/library/aa288453(v=vs.71).aspx
http://www.dotnetperls.com/array

Read through those and see where you're at with the fundamentals of arrays Smile


RE: How do you create an array in C sharp? - redpois0n - 03-22-2012

This should really go in the .net section.


RE: How do you create an array in C sharp? - Clarencetew24 - 05-19-2017

THANK YOU FOR YOUR INFORMATION