Sunday, 18 August 2013

Visual Studio .NET 2012

This tutorial will help you how to print “Hello World” in C#

Array is a data structure which consists of a collection of homogeneous(all elements of the same type) elements. The elements of the array are accessed by their index.
In C#, the arrays are zero indexed which means that the array indexes start at zero.


Arrays in C# work quite similar (with some differences) to how arrays work in C, C++ and Java.
While declaring an array, the square brackets [] should come immediately after the data-type. Placing the brackets after the identifier will generate a syntax error.
int[] table; //correct
int table[]; //incorrect

See Also

Arrays Tutorial - DOTNET

Get Ebooks delivered to your email id


Subscribe to our channel


Powered by Blogger.

Home | Contact Us | DMCA | Terms of Service | Privacy | Advertise

Maven Scientists