Can you store multiple data types in System.Array?
Answer Posted / neeraj kumar shrivastwa
If you take an array of object, you can store multiple data
type in an array.
object[] obj = new object[4];
obj[0]=1;
obj[1]="Neeraj";
obj[2]=true;
obj[3]=System.DateTime.Now;
Is This Answer Correct ? | 53 Yes | 5 No |
Post New Answer View All Answers
What is a multicast delegate in c#?
Is it possible to restrict the scope of a field/method of a class to the classes in the same namespace?
Can I use exceptions in c#?
In which order the destructor is called for an inherited class?
What does mean c#?
What is as keyword in c#?
How can an inner class access the members of outer class?
What are the main reasons to use c# language?
Is a valid int value?
What is binary search tree in data structure?
What are cookies in c#?
What is the use of 'using' statement in c#?
how to create crystal reports give one detail example(i want to view age category report) please give suitable example in my small knowledge
Are c# references the same as c++ references?
Is Multiple-inheritance supported by c#?