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

List down the different ide’s provided by microsoft for c# development.

827


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

924


List down the commonly used types of exceptions in .net

839


What is parsing?

869


Can int be null in c#?

829


Why should I use interface in c#?

928


Explain the clr triggers?

891


From a versioning perspective, what are the drawbacks of extending an interface as opposed to extending a class?

914


What is the difference between Object and class adapters?

908


Can we inherit private class in c#?

885


What is arraylist?

939


What does the parsefloat function do?

867


What Is A Satellite Assembly?

907


What is the difference between ienumerable and iqueryable?

878


What is ispostback c#?

822