Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

An Array is a Ref Type? what about the array elements which
are value type(int,Float...etc)?

Answer Posted / anand

address of value type elements (variables) were stored in
the array name, eg: For int value type you wil declare as:-
int[] arrayname=new int[];
here arrayname contains the address of the elements stored
in it.
int[] arrayname=new int[] {5,4,3,2,1};
arrayname denotes to the address of 5.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between abstract and virtual?

853


What is serialization in c#?

850


Is it possible to execute multiple catch block for a single try statement?

1013


How can you reference current thread of the method ?

909


Name some string escape sequences in c#.

992


What is the difference between static and private constructor?

925


Explain the feature of c# language?

852


What is strongly typed view?

836


What is the use of private constructor in c#?

851


When was .net linq added?

918


Explain how is the dll hell problem solved in .net?

808


Explain the use of Mutex in C#?

969


What is asenumerable in c#?

844


Are string objects mutable or immutable?

885


How more than one version of an assembly can keep in same place?

912