View Single Post
  #1 (permalink)  
Old 04-26-2006, 10:37 AM
purushottam purushottam is offline
VB.NET Forum Newbie
.NET Framework: .NET 1.1 (VS 2003)
 
Join Date: Apr 2006
Posts: 1
Reputation: 0
purushottam is on a distinguished programming path ahead
Default Size of datatype : Boolean

Hi all,

In .Net framework, Boolean data type took 2 bytes of space in memory.
But, in other languages like c, c++ ... it took only 1 byte.

Can any one tell me why it took 2 bytes instead of 1 byte and tell me what is the default values for true case and false case?

Thxs in advance,
Purushottam.
Reply With Quote