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


Please Help Members By Posting Answers For Below Questions

Why do we need to call CG.SupressFinalize?

729


What is assembly version series sequence?

732


What are the 2 types of data types available in c#?

669


What are cookies in c#?

750


How do you declare a method in c#?

666


Are arrays immutable c#?

698


What are abstract classes in c#?

670


What is the concept of strong names?

731


Can we have two main methods in c#?

715


What are the types of operator?

625


How to declares a two-dimensional array in C#?

792


Why do we need collections in c#?

648


What kind of the information stored inside the assembly?

749


What is windows application in c#?

656


Can you access a hidden base class method in the derived class?

695