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 yield return in c#?
What is a bool in c#?
Why array is faster than arraylist in c#?
Can you inherit multiple abstract classes in c#?
What is dll in vb.net?
Explain what are three test cases you should go through in unit testing?
Is c and c# the same?
What exception can an overridden method throw in comparison with the method it is overriding?
what is c# command?
What is foreach loop in c#?
What is lock in c#?
What are interfaces in c#?
How to parse a date time string?
Describe ways of cleaning up objects in c#.
Can you have parameters for static constructors?