Click here to Skip to main content
15,907,326 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: Boolean size Pin
leppie29-May-08 23:11
leppie29-May-08 23:11 
GeneralRe: Boolean size Pin
RichardM130-May-08 19:03
RichardM130-May-08 19:03 
GeneralRe: Boolean size Pin
leppie4-Jun-08 4:41
leppie4-Jun-08 4:41 
AnswerRe: Boolean size Pin
Brady Kelly31-May-08 5:29
Brady Kelly31-May-08 5:29 
AnswerRe: Boolean size Pin
PIEBALDconsult1-Jun-08 6:59
mvePIEBALDconsult1-Jun-08 6:59 
GeneralRe: Boolean size Pin
Ray Cassick2-Jun-08 4:47
Ray Cassick2-Jun-08 4:47 
GeneralRe: Boolean size Pin
Scott Dorman2-Jun-08 6:11
professionalScott Dorman2-Jun-08 6:11 
AnswerRe: Boolean size Pin
Scott Dorman2-Jun-08 6:03
professionalScott Dorman2-Jun-08 6:03 
This is from sizeof (C# Reference)[^], but it should apply to VB as well.

sizeof(bool) returns 1. However, the following statements are also made:

Although you can use the SizeOf[^] method, the value returned by this method is not always the same as the value returned by sizeof. Marshal.SizeOf returns the size after the type has been marshaled whereas sizeof returns the size as it has been allocated by the Common Language Runtime, including any padding.


Scott.

—In just two days, tomorrow will be yesterday.
—Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai

[Forum Guidelines] [Articles] [Blog]

QuestionMSSCCI Problem for VS 2003 Pin
QPun28-May-08 20:46
QPun28-May-08 20:46 
QuestionWeb project component not installed Pin
dotnetprg28-May-08 19:36
dotnetprg28-May-08 19:36 
AnswerRe: Web project component not installed Pin
Verghese2-Jun-08 4:30
Verghese2-Jun-08 4:30 
QuestionOffice Add-in Pin
M. J. Jaya Chitra28-May-08 19:16
M. J. Jaya Chitra28-May-08 19:16 
AnswerRe: Office Add-in Pin
led mike29-May-08 4:29
led mike29-May-08 4:29 
QuestionHow to transfer large files over network though networkstream ? [modified] Pin
tamour28-May-08 4:43
tamour28-May-08 4:43 
AnswerRe: How to transfer large files over network though networkstream ? Pin
led mike29-May-08 4:26
led mike29-May-08 4:26 
Answer.Net and Document & Imaging Pin
Chrispie12327-May-08 12:16
Chrispie12327-May-08 12:16 
QuestionSocket.Select() timeout error? Pin
invictus327-May-08 11:57
invictus327-May-08 11:57 
AnswerRe: Socket.Select() timeout error? Pin
Colin Angus Mackay27-May-08 13:22
Colin Angus Mackay27-May-08 13:22 
AnswerRe: Socket.Select() timeout error? Pin
led mike28-May-08 4:39
led mike28-May-08 4:39 
QuestionTableAdapter.Update problem Pin
ford8627-May-08 10:46
ford8627-May-08 10:46 
AnswerRe: TableAdapter.Update problem Pin
Mike Dimmick28-May-08 5:32
Mike Dimmick28-May-08 5:32 
GeneralRe: TableAdapter.Update problem Pin
ford8628-May-08 5:39
ford8628-May-08 5:39 
AnswerRe: TableAdapter.Update problem [modified] Pin
William Ten Broek3-Jun-08 16:12
William Ten Broek3-Jun-08 16:12 
Questionscrolling banner/marquee Pin
Learning26-May-08 3:49
Learning26-May-08 3:49 
AnswerRe: scrolling banner/marquee Pin
Vasudevan Deepak Kumar26-May-08 19:19
Vasudevan Deepak Kumar26-May-08 19:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.