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

What is the minimum size (in bytes) of string data type in c#?
Give its compatible data type in .NET Framework.

Answer Posted / dileep

A string type takes 4 bytes (A string is a referenc type)
Bcoz either it references a null value or a non-null value
since it is a reference type which holds the address of a
memory location it occupies the size of an integer (which
is 4 bytes in c#).

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we use delegates?

809


Explain About web methods and its various attributes

930


what is the difference between the debug class and trace class?

988


Why do we use dictionary in c#?

942


Is clr a compiler?

827


what are nullable types in c#

994


Define c# i/o classes?

887


How many keyword present in C# language ?

960


For methods inside the interface why can’t you specify the accessibility modifier?

922


What is the use of readkey in c#?

935


Explain publishers and subscribers in events.

907


What is the difference between field and property in c#?

897


How do I move from one form to another in c#?

854


Describe how a .net application is compiled and executed

888


What is difference between dictionary and list in c#?

842