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

What is gui in c#?

644


Is typeof c#?

616


What is different between Static Constructor and Private Constructor?

545


What is interpolation in programming?

577


What are the steps to create a webservice and consume it?

546






What is the difference between parse and tryparse in c#?

566


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

571


What is asenumerable in c#?

582


Can bool be null c#?

583


Is 0 an unsigned integer?

581


What are types in c#?

593


What is the difference between struct and class c#?

586


What are constructors in c#?

622


Can I define my own exceptions?

570


What are the benefits of using generics in c#?

574