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

What is using keyword in C#?

572


How can we set the class to be inherited, but prevent the method from being over-ridden?

486


What is string method in c#?

498


What is console used for?

523


Why do we need constructors?

503






what are implementation inheritance and interface inheritance?

521


What is out int in c#?

483


What does m mean in decimal c#?

498


Define parsing? Explain how to parse a datetime string?

511


How to generate strong name key file or which command is used to generated strong name key file?

517


Can you explicitly call a destructor?

532


What is xml c#?

485


What is part of a method signature in c#?

471


What do you mean by winforms in c#?

508


Why do we use anonymous method in c#?

505