Can you store multiple data types in System.Array?
Answer Posted / raj
yes it is possible.
create an array of objects.
int i = 100;
string s = "hundred";
object [] obj = new object[2];
obj[0] = i;
obj[1] = s;
textbox1.Text = System.Convert.ToInt32(i) + "=" + s.ToString
();
| Is This Answer Correct ? | 10 Yes | 6 No |
Post New Answer View All Answers
What is difference between c and c sharp?
Explain what a diffgram, and a good use for one Define diffgram? How it be used?
Why delegates are required?
What is virtual in c#?
Why do we need escape characters?
How do I create a dbml file?
Which are the access modifiers available in c#?
How can I create a process that is running a supplied native executable (e.g., Cmd.exe)?
What are managed providers?
what is scope of a protected internal member variable of a c# class
What is inheritance in csharp?
Is array value type in c#?
Can interface inherit class in c#?
Explain about multithreading?
write a c# program add two matrix with input number ?