Answers for "how to read 2d array in c#"

C#
1

create 2d array object c#

object[,] obj = new object[10,10];
Posted by: Guest on November-30-2021
3

C# public 2d array

// in namespace, above main form declaration

public class Globals
    {
        public static string[,] tableArray;
	}

//... in main or other method

Globals.tableArray = new string[rowLength,colLength];
Posted by: Guest on March-18-2020

C# Answers by Framework

Browse Popular Code Answers by Language