Home > Archive > microsoft.public.cert.exam.mcsd > May 2003 > Booleans





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Booleans
Shailendra Sharma

2003-05-25, 3:23 pm

Correct me if I am wrong here, but I read that Booleans
in .NET are 4 bytes now. Could there be a reason for it???
A bit is sufficient to store 0 or 1...Must have something
to do with System.Boolean inherting from
System.ValueType... don't know...
Wray Smallwood

2003-05-25, 4:23 pm

Possibly a better place to post this is
microsoft.public.dotnet.framework.clr as this newsgroup is about MCSD exams.

"Shailendra Sharma" <spshailendra@hotmail.com> wrote in message
news:1fac01c322fa$3f4f35f0$a30
1280a@phx.gbl...
> Correct me if I am wrong here, but I read that Booleans
> in .NET are 4 bytes now. Could there be a reason for it???
> A bit is sufficient to store 0 or 1...Must have something
> to do with System.Boolean inherting from
> System.ValueType... don't know...



Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net