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

When you use Ajax controls in the ASP.NET application?

980


Suppose You Want A Certain Asp.net Function Executed On Mouseover For A Certain Button. Where Do You Add An Event Handler?

1069


What are the disadvantages of view state?

1044


How can you display all validation messages in one control?

937


Web API uses which library for JSON serialization?

998


What is asynchronous call?

1018


Can one dll file contains the compiled code of more than one .net language?

953


What is asp.net caching?

970


What are the main requirements for caching?

986


What is viewstate? What does the "enableviewstate” property do? Whay would I want it on or off?

865


What are sql joins?

933


Explain the advantages of asp.net.

937


What is the latest version of asp.net?

975


Will session work if cookies is disabled?

956


What are sharepoint pages?

860