Two Dimensional Array C# Programming

Published: 20 October 2020
on channel: Professor Saad
22,064
249

#TwoDimensionalArray #TwoDikmArray #CSharparrays
Like, Share, And Subscribe | Professor Saad Yousuf
Watch Our All Videos On This :    / professorsaad  
Subscribe Our Channel :    / professorsaad  
Playlists:    / ssby79  

CODE:
int[,] sales = {
{1000, 2000, 1500, 1400 }, //row1 = 0 [0,0]
{1000, 3000, 1800, 1600 }, //row2 = 1
{8000, 6500, 1880, 1700 }, //row3 = 2
{900, 6000, 7500, 400 } //row4 = 3 [3,3]
};
for (int r = 0; r < sales.GetLength(0); r++)
{
for (int c = 0; c < sales.GetLength(1); c++)
{
WriteLine("Sales: " + sales[r, c].ToString("C"));
}
}
Read();


On this page of the site you can watch the video online Two Dimensional Array C# Programming with a duration of hours minute second in good quality, which was uploaded by the user Professor Saad 20 October 2020, share the link with friends and acquaintances, this video has already been watched 22,064 times on youtube and it was liked by 249 viewers. Enjoy your viewing!