Answers for "declaring a multidimensional array in c#"

C#
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