Array in C# Language :
array is an object used to store object of the same type and provides access to the objects using an index.
To create an object of type System.string and System.Array Class.
c# array index starts at zero. that means first item of an array will be stored at zero positions.
The positions of the last item on the array will total number of items-1.
int[] arryname;
int[] arrayname=new int[100];
Multi Dimensional array :
int [,]array_name=new int[3,5];
array is an object used to store object of the same type and provides access to the objects using an index.
To create an object of type System.string and System.Array Class.
c# array index starts at zero. that means first item of an array will be stored at zero positions.
The positions of the last item on the array will total number of items-1.
int[] arryname;
int[] arrayname=new int[100];
Multi Dimensional array :
int [,]array_name=new int[3,5];
nice post sir ji ...........
ReplyDeletehttp://asp-net-by-parijat.blogspot.in/2015/08/what-is-namespace-in-c-need-of.html......