Answers for "array of array in c#"

C#
1

Defining a new array with elements in c#

int [] marks = new int[]  { 99,  98, 92, 97, 95};
Posted by: Guest on June-17-2021
4

array in C#

// String array for my friends ( Example )
string[] myFriends = {"Friend1", "Friend2", "Friend3", "Friend4"};

// Display MyFriend2 at index of ( 1 )
Console.WriteLine(myFriends[1]);
Posted by: Guest on June-05-2021

C# Answers by Framework

Browse Popular Code Answers by Language