Answers for "c# mixed multidimensional array"

C#
1

c# mixed multidimensional array

//You can't do that. Instead, 
//you should create a class that contains these two properties,
//then you can create an array of that type:

public class MyClass
{
    public string ControlName {get;set;}
    public bool MyBooleanValue {get;set;}
}

public MyClass[] myValues=new MyClass[numberOfItems];

//use a dictionary if one of the properties is meant to be
//used to perform lookups.
// Added By Barry Cox
Posted by: Guest on March-23-2020

Code answers related to "c# mixed multidimensional array"

C# Answers by Framework

Browse Popular Code Answers by Language