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...

Is string a value type or a reference type?

Answer Posted / albn

String is a reference type. If two string variable has the
same string it stored in the same heap memory address.

eg in VB.Net
Dim a as string="Hello"
dim b as string="Hello"

both variable refer to same memory address. As strings are
immutable reference type you can't get the change in one
variable to another.

Is This Answer Correct ?    19 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is faster viewbag or viewdata?

924


What are the new navigation controls in asp.net 2.0?

970


Explain the difference between asp and asp.net?

960


Describe the master page.

918


What are the advantages of asp.net?

946


Do I need to have the latest version of windows media player installed?

930


What are the page life cycle events?

862


What is mvc in asp.net interview question? : Asp.Net MVC

924


How many types of state management are there in asp net?

993


What is bound controls

1011


Explain the difference between web user control and web custom control?

936


How many languages are supported by .NET at present time?

731


How we implement web farm and web garden concept in asp.net?

966


What are sql notifications and sql invalidations?

908


In a Repeater control how one can provide an alternating color scheme ?

1026