Examples of csharp(c#) with Source code
Examples of c sharp(c#) with SOURCE CODE
Sunday, 22 August 2010
source code forAssigning values to 2d array
//source code forAssigning values to 2d array
;
using System;
class TDArray
{ //source code for array
static void Main()
{
int[,] arr = new int[4,5];
int a = 5;
// source code forAssigning values to 2d array;
for(int i=0;i
{
for(int j=0;j
{
arr[i,j] = a;
a += 5;
}
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment