Can you store multiple data types in System.Array?

Answer Posted / harry

We Can Store Multiple datatypes in array by taking array as
object

Dim myarr(8) As Object
myarr(3) = "fff"
myarr(4) = 45645

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between assembly and namespace?

633


What is the difference between selection and projection?

629


Can you prevent a class from being instantiated?

754


What is parallel foreach in c#?

724


what is the difference between a struct and a class in c#?

756






What are anonymous functions in c#?

688


How can I get around scope problems in a try/catch?

648


What is string concatenation?

658


Can we override interface methods in c#?

633


List some of the basic string operation?

678


What are the types of parameters in c#?

692


What is method overriding in c#

756


What is cosole application?

747


Which operator cannot be overloaded in c sharp?

647


Which programming language is best for desktop applications?

643