Can you store multiple data types in System.Array?
Answer Posted / srivathsan
i guess you cannot do that in a list too. because an array
list is also type safe.
eg:
List<int> arraylist = new List<int>();
the arraylist can contain only integer items.You cannot
store an item that is not an integer type in the arraylist.
| Is This Answer Correct ? | 4 Yes | 7 No |
Post New Answer View All Answers
What is difference between iqueryable and ienumerable in c#?
What are predicates in c#?
What is delegates in c#?
What is using keyword in C#?
What is the purpose of static?
What is the difference between dynamic and var in c#?
Suppose two interfaces have same method, so how will you implement these methods in derive class?
How do you mark a method obsolete?
Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?
What is the use of generics in c#?
How to implement an object pool in c#.net.
What is short in c#?
What is difference between continue and break in c#?
What is managed code?
How to use the sreamReader class to read form a text file?