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 array c#?

923


Are arraylist faster or arrays?

970


What do you understand by an Implicit Variable?

1016


Is as keyword in c#?

883


Why is aws serverless?

881


How do I run a cshtml file?

920


List down the reason behind the usage of c# language.

1312


What is the default scope of a class in c#?

952


How does it work?

926


Why can't we use a static class instead of singleton?

880


What are the 2 broad classifications of fields in c#?

928


What does char mean in c#?

940


What is scaffolding in c#?

947


Explain publishers and subscribers in events.

953


What is the xml document structure?

927