Which collection will you use to store different types of
objects collection like... int, employee, student, object
etc.
Answer Posted / sumithra
We can use structure. Structure holds different types of data where as array is homogenous.
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are generations and how are they used by the garbage collector?
list the steps in code compilation in c#?
Describe the difference between inline and code behind - which is best?
Explain what is copy constructor?
What is constants in c#?
What is the difference between list and array in c#?
What is string [] args in c#?
Can we inherit class that contains only one private constructor?
How to find out that the code is written as managed or un-managed code?
What is func c#?
What are the characteristics of c#?
What is the difference between disposing of () and finalize() methods in c#?
Can you declare a class or a struct as constant?
What are the value types in c#?
How do you serialize an object?