how to print multidimensional array in c# code example

Example: 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