Can you store multiple data types in System.Array?

Answer Posted / naveen

Bit tricky answer. Convert into system.object and store
(using boxing)like this you are able to store differnt
types which is not recommended

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How assembly versioning in .NET prevent DLL Hell problem?

506


Is c# used for any core features of windows vista?

513


What are the Types of compatabilities and explain them

514


Why do we use yield in c#?

500


What are anonymous types in c#?

471






What are the types of methods in c#?

455


What is a framework in c#?

462


What is a constructor in c#?

512


How do I join one form to another in c#?

458


Why we use extension methods in c#?

466


Can interface inherit class in c#?

485


Enlist the different types of classes in c#?

520


Why delegates are type safe?

486


Describe the ways of cleaning up objects in c#.

517


What is difference between c sharp and c#?

462