Click here to Skip to main content
15,884,099 members
Home / Discussions / C#
   

C#

 
AnswerRe: ScrollBar Pin
mikanu5-Mar-06 9:47
mikanu5-Mar-06 9:47 
QuestionBlock Com Port monitoring tools Pin
Sandeep TP4-Mar-06 21:54
Sandeep TP4-Mar-06 21:54 
AnswerRe: Block Com Port monitoring tools Pin
cbhkenshin4-Mar-06 23:04
cbhkenshin4-Mar-06 23:04 
AnswerRe: Block Com Port monitoring tools Pin
Stephen Hewitt5-Mar-06 0:20
Stephen Hewitt5-Mar-06 0:20 
AnswerRe: Block Com Port monitoring tools Pin
Dave Kreskowiak5-Mar-06 2:04
mveDave Kreskowiak5-Mar-06 2:04 
QuestionTab Change Event Pin
Expert Coming4-Mar-06 18:25
Expert Coming4-Mar-06 18:25 
AnswerRe: Tab Change Event Pin
darkelv4-Mar-06 19:23
darkelv4-Mar-06 19:23 
QuestionGetting size of a data structure Pin
LighthouseJ4-Mar-06 17:33
LighthouseJ4-Mar-06 17:33 
I'm writing a program and I need to figure out how big any single data structure is but the programs' signature simply allows any thing of "object" type because I want to allow anything. How can I figure out how many bytes whatever is sent to the program is long? I tried looking at sizeof and stuff but it appears sufficiently different from C so I'm stuck and it requires unsafe which doesn't seem like the best thing. I can't find anything using the Type class with <obj>.GetType() or typeof(<obj>). I've done searches and I guess my problem is too general to search so I'm stuck.

This object can be a byte, character, string or an instance of a custom class or anything at all. I want to be as unrestrictive as possible. If it can't be done easily or at all, I'll probably revert back to C but I'm trying to learn C#. Thanks in advance, Nate.
AnswerRe: Getting size of a data structure Pin
Expert Coming4-Mar-06 18:17
Expert Coming4-Mar-06 18:17 
GeneralRe: Getting size of a data structure Pin
LighthouseJ5-Mar-06 3:57
LighthouseJ5-Mar-06 3:57 
AnswerRe: Getting size of a data structure Pin
S. Senthil Kumar4-Mar-06 19:02
S. Senthil Kumar4-Mar-06 19:02 
GeneralRe: Getting size of a data structure Pin
LighthouseJ5-Mar-06 4:02
LighthouseJ5-Mar-06 4:02 
GeneralRe: Getting size of a data structure Pin
S. Senthil Kumar5-Mar-06 8:12
S. Senthil Kumar5-Mar-06 8:12 
GeneralRe: Getting size of a data structure Pin
LighthouseJ5-Mar-06 8:19
LighthouseJ5-Mar-06 8:19 
QuestionFile Transfer Pin
unrealed4-Mar-06 14:30
unrealed4-Mar-06 14:30 
GeneralRe: File Transfer Pin
LighthouseJ4-Mar-06 17:16
LighthouseJ4-Mar-06 17:16 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 4:14
unrealed5-Mar-06 4:14 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 5:31
unrealed5-Mar-06 5:31 
GeneralRe: File Transfer Pin
LighthouseJ5-Mar-06 5:52
LighthouseJ5-Mar-06 5:52 
GeneralRe: File Transfer Pin
unrealed5-Mar-06 10:33
unrealed5-Mar-06 10:33 
Questionimporting DLL from SQL, Possible ? Pin
emran8344-Mar-06 13:39
emran8344-Mar-06 13:39 
AnswerRe: importing DLL from SQL, Possible ? Pin
Stanciu Vlad4-Mar-06 21:52
Stanciu Vlad4-Mar-06 21:52 
QuestionHow to interact with a SysTreeView in another application? Pin
luddet4-Mar-06 13:06
luddet4-Mar-06 13:06 
Questionscroll an image Pin
Susuko4-Mar-06 12:31
Susuko4-Mar-06 12:31 
AnswerRe: scroll an image Pin
AFSEKI5-Mar-06 5:01
AFSEKI5-Mar-06 5:01 

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.