Can you store multiple data types in System.Array?

Answer Posted / tsahi

Yes you can, if you have an object array. since
System.Object is the base class of all other types, an item
in an array of Objects can have a reference to any other
type of object.

Is This Answer Correct ?    23 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are cshtml files?

658


How Is The Dll Hell Problem Solved In .net?

768


What does console mean c#?

681


Explain async and await?

894


Are structs value types c#?

646


What is the use of protected in c#?

692


Explain inheritance in c#?

718


Where is the keyword void used?

714


What is private protected in c#?

652


What does using system mean in c#?

710


In .NET how can you solve the DLL Hell problem?

843


How to move to a state-related codebase?

1162


What is meant by enumerable in c#?

696


What is c sharp language?

698


Is c++ or c# better?

712