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

What is object array in c#?

511


What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?

604


In C#, explain the difference between overloading and overriding.

564


What is using in c#?

468


What is hashtable c#?

473






What framework is used for performance testing/load testing?

1480


What is multithreading with .net?

533


Describe the parts of assembly.

524


Can interface inherit class in c#?

489


What is the difference between constant and readonly in c#?

433


What is the difference between arraylist and list in c#?

458


Can you inherit from a static class in c#?

478


What is CASPOL?

609


What are the types of operator?

455


I want to print "Hello" even before main() is executed. How will you achieve that?

517