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

Is there an equivalent to the instanceof operator in visual j++?

949


What happens if you add duplicate elements to a set?

867


Wcf and what is difference between wcf and web services?

925


How we can create an array with non-default values?

936


What does int32 mean in c#?

886


Define sealed classes in c#?

898


Is array a list?

859


When should I throw an exception?

979


What is an inheritance ?Give an example in which inheritance is used?

1030


What do u mean by thread safe?

912


What is data hiding in c#?

883


How many bytes is a long c#?

899


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

1714


What does void mean unity?

921


Explain the difference between user control and custom control. Also, explain their use.

1045