I want to create two dimension array of different type like I can add to that array two values one of them is controlname and second is boolean value.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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:
Or, as Anders says, use a dictionary if one of the properties is meant to be used to perform lookups.