Which collection will you use to store different types of
objects collection like... int, employee, student, object
etc.

Answer Posted / muralik.it

its better to use generic class ie list

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

C# called c sharp why?

767


How do you prevent a class from being inherited?

713


What is the purpose of namespace in c#?

635


What is argument in c#?

705


Is int a struct in c#?

685


Which compiler switch creates an xml file from xml comments in the files in an assembly?

791


What is a reference type c#?

703


Why we use dll in c#?

716


Can an int be negative c#?

778


What is the use of console?

667


What are classes in c#?

762


What is dll file in c#?

722


What is the difference between system.text.stringbuilder and system.string?

742


what is inheritance and an example in vb.net and c# of when you might use it?

719


Explain the types of Polymorphism.

780