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 reference type / value type?

Answer Posted / baranee

Hi,

String is a value type but its not advisable to use for the
frequent usage of string.String is a class which has
default size of 16.If the value exceeds it will create one
more instance and left the old reference which is still not
cleared in memory. So we can use stringbuilder value type
which doubles the size when the default size exceeds.

Is This Answer Correct ?    1 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which controls do not have events?

1067


What is Inheritance in C#?

1233


What is the difference between throw and throw ex?

926


How do I start a program in c#?

1041


Why abstract class is not instantiated in c#?

981


What Happens In Memory When You Box And Unbox A Value-type?

921


Why delegates are required?

1016


What is ControlBox Propertie

1054


Which sorting algorithm is best?

1037


What is the process of delegation?

1022


What is type system in c#?

989


Which is faster abstract class or interface in c#?

1032


Who is a accessibility modifier “protected internal” available to ?

1074


What is msil, and why should developers need an appreciation of it if at all?

1096


Why do we use reflection in c#?

1001