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 CONST and READONLY?

1126


What is the benefit of interface in c#?

1004


Can namespace contain the private class?

984


What do you mean by hashtable c#?

1067


What is escape sequence in c#?

1059


Can we overload indexer in c#?

925


What are the string functions in c#?

1016


What is the namespcae generally given to the webpage of the .NET Framework ?

1119


Define satellite Assembly?

1062


What are the types of parameters in c#?

1022


Can we override constructor in c#?

963


Is a c# interface the same as a c++ abstract class?

1021


How do switch statements work?

957


What does a constructor do c#?

969


When was c# created?

1042