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 asynccallback c#?
What is the usage of transponders?
what is IComparable
What are extensions methods in c#?
Is there a way to force garbage collection?
Does c# have its own class library?
What is a console device?
Can property be private in c#?
What do you understand by 'access specifiers' in C#?
Define Abstract Class in C#
Why are strings in c# immutable?
How do you create dlls in .NET
How do you concatenate in c#?
what is the difference between convert.tostring() and tostring() functions ?
Is a char?