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

What are the namespace classes used in asp.net mvc? : asp.net mvc

1034


What is difference in .net 1.1 and .net 2.0?

1043


How to use a Master Database in Asp.net?

1059


To wrap up a call to a Web service the standard used is..?

972


What is the Difference between MVC And MVP design pattrens

2674


What is the use of session state and application state and difference between them?

915


What is the difference between user control and custom control?

938


What are the differences between clr & cts?

1071


Explain asp.net mvc request life cycle? : asp.net mvc

1063


How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.

1921


Explain significance of routing? : asp.net mvc

1125


What are the advantages and disadvantages of Using Cookies?

969


What are the new web part controls in asp.net 2.0 ?

1036


Define authentication and authorization.

1083


What are sessions and cookies?

968