Can you store multiple data types in System.Array?
Answer Posted / tsahi
Yes you can, if you have an object array. since
System.Object is the base class of all other types, an item
in an array of Objects can have a reference to any other
type of object.
Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
Why do we need dependency injection in c#?
How do partial classes work in c#?
What is before string in c#?
What is the delegate in c#?
When should you use generics?
What is the use of expression tree in c#?
What are the types of inheritance in c#?
Can enum have methods c#?
What is the root element of an xml file?
What is the main purpose of xml?
What are static and dynamic variables?
Give an example of removing an element from the queue?
What is a class in unity?
Can you see a loop recorder?
Why c# is called c sharp?