Can you store multiple data types in System.Array?
Answer Posted / shamjeet
yes,ofcourse
System.Array is of Object Type
eg:
int a =10;
float b=2.03;
string c = "yes"
object[] val = new object[3];
val[0] = a;
val[1] = b;
val[2] = c;
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the steps for creating clr trigger
What is the CTS, and how does it relate to the CLS?
What is use of hashtable in c#?
What are most desktop applications written in?
What is protected internal modifier in C#?
What are the benefits of using generics in c#?
Is vs as c#?
What is hashtable c#?
Constructor to an arbitrary base constructor?
What is anonymous class in c#?
Can abstract class be sealed in c#?
What is the benefit of using interface in c#?
What is default access specifier for class in c#?
What does console readline do in c#?
Are objects passed by reference in c#?