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

Suppose you have already existing application with Visual Studio 6 (VB 6, InterDev 6) and this application utilizes Windows 2000 COM+ transaction services. With this example how can you approach migrating this application to .NET?

889


Does c# support try-catch-finally blocks?

856


What is ControlBox Propertie

1002


How can we sort the elements of the array in descending order?

937


Why are strings immutable in c#?

892


What sort algorithm does c# use?

897


What is lastindexof c#?

852


What is meant by unicode characters?

981


Can hashtable have duplicate keys in c#?

889


Which framework is best for desktop application?

995


What is the extension of c# file?

1014


How do I create a single-file assembly?

1013


How do I edit a dll file?

880


What is system console writeline in c#?

1019


What is value c#?

824