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

Explain how to use an extender provider in the project.

920


Is c# good for games?

826


Why do canadians say zed?

969


What is getenumerator?

811


What is a partial class in c#?

962


What is a long in c#?

953


What is option parameter in C#?

932


What is a string c#?

866


What is uint c#?

860


What are the benefits of using generics in c#?

869


Please explain value types and reference types used in c#?

821


How you will create satellite assemblies?

905


Explain the difference between const and static read-only?

947


What does out mean c#?

896


What is the difference between an implicit conversion and an explicit conversion?

931