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
How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!
What's the difference between the debug class and trace class? Documentation looks the same.
What is signature c#?
Can you put two constructor with the same structure in a class?
Define strong name in c#?
What is access specifier in c#?
Is it possible to have different access modifiers on the get/set methods of a property in c#?
Why are local variables stored in stack?
What is a console operator?
Can interface inherit class in c#?
When should we use sealed class in c#?
What is difference between il and dll ?
Why do we need static class in c#?
Explain copy constructor?
What is singleordefault c#?