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

Why asp.net mvc is better than asp.net? : Asp.Net MVC

1146


what is command line compiler.what are the steps and how it is related to debugging.

1888


What is a session government?

905


Difference between .NET and previous version?

2590


Explain server-side scripting?

1046


How can I have a particular web page in an asp.net application which displays its own error page?

1119


Can you explain architecture of your project ?

1133


Is asp.net still used?

1027


What is .net remoting?

1054


explain code with multi inhertance

2113


If Instancing = Single use for ActiveX Exe, how will this be executed if there are 2 consecutive client requests ?

2480


How Can assign alias name for ASP.NET Web API Action?

1455


What is difference between session and cookie?

1007


How to sign out from forms authentication?

1068


How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC

891