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

C#

 
GeneralRe: Self-deleting hashtable entries Pin
User 665824-Jan-06 12:56
User 665824-Jan-06 12:56 
GeneralRe: Self-deleting hashtable entries Pin
tarasn24-Jan-06 20:41
tarasn24-Jan-06 20:41 
QuestionManaged DirectX Question. Pin
cvetant24-Jan-06 9:03
cvetant24-Jan-06 9:03 
AnswerRe: Managed DirectX Question. Pin
James Gupta24-Jan-06 9:36
professionalJames Gupta24-Jan-06 9:36 
GeneralRe: Managed DirectX Question. Pin
cvetant24-Jan-06 9:45
cvetant24-Jan-06 9:45 
GeneralRe: Managed DirectX Question. Pin
James Gupta24-Jan-06 11:36
professionalJames Gupta24-Jan-06 11:36 
GeneralRe: Managed DirectX Question. Pin
cvetant24-Jan-06 11:46
cvetant24-Jan-06 11:46 
QuestionSerialization Question Pin
LighthouseJ24-Jan-06 8:39
LighthouseJ24-Jan-06 8:39 
I created an object class derived from System.Object and an array class derived from ArrayList. I'm trying to serialize (and deserialize) the entire thing. I found a great guide here.

When I serialized in the same situation in VC++, it automatically serialized all of the objects in the array for me. All I did was write in private variables that are in the list itself, and all the objects inside the list got serialized properly too.

Now, in C#, I read the file after serialization, it picks up the private array list data but it doesn't automatically serialize the objects inside of it. Not only do they not show up in the resulting file, but there's a breakpoint on the individual object serialization which never gets reached.

The question is, is the array list not supposed to automatically serialize it's objects inside of it, or am I not doing something to let it automatically serialize its members? I can serialize the members using a foreach but I wanted to know what the word on this was so I don't re-invent the wheel.
AnswerRe: Serialization Question Pin
Le centriste24-Jan-06 9:59
Le centriste24-Jan-06 9:59 
GeneralRe: Serialization Question Pin
LighthouseJ24-Jan-06 10:11
LighthouseJ24-Jan-06 10:11 
GeneralRe: Serialization Question Pin
Le centriste24-Jan-06 10:14
Le centriste24-Jan-06 10:14 
AnswerRe: Serialization Question Pin
tarasn24-Jan-06 10:04
tarasn24-Jan-06 10:04 
GeneralRe: Serialization Question Pin
LighthouseJ24-Jan-06 10:13
LighthouseJ24-Jan-06 10:13 
QuestionPrinting problem... Pin
Stanciu Vlad24-Jan-06 7:26
Stanciu Vlad24-Jan-06 7:26 
QuestionHow to get the previous selected index of a tab? Pin
bouli24-Jan-06 5:42
bouli24-Jan-06 5:42 
AnswerRe: How to get the previous selected index of a tab? Pin
leppie24-Jan-06 6:32
leppie24-Jan-06 6:32 
AnswerRe: How to get the previous selected index of a tab? Pin
James Gupta24-Jan-06 9:37
professionalJames Gupta24-Jan-06 9:37 
GeneralRe: How to get the previous selected index of a tab? Pin
James Gupta24-Jan-06 9:46
professionalJames Gupta24-Jan-06 9:46 
GeneralRe: How to get the previous selected index of a tab? Pin
leppie24-Jan-06 11:59
leppie24-Jan-06 11:59 
QuestionPassword Encryption Pin
zaboboa24-Jan-06 4:45
zaboboa24-Jan-06 4:45 
AnswerRe: Password Encryption Pin
Judah Gabriel Himango24-Jan-06 4:55
sponsorJudah Gabriel Himango24-Jan-06 4:55 
GeneralRe: Password Encryption Pin
zaboboa24-Jan-06 5:03
zaboboa24-Jan-06 5:03 
GeneralRe: Password Encryption Pin
Judah Gabriel Himango24-Jan-06 7:56
sponsorJudah Gabriel Himango24-Jan-06 7:56 
AnswerRe: Password Encryption Pin
Colin Angus Mackay24-Jan-06 4:56
Colin Angus Mackay24-Jan-06 4:56 
GeneralRe: Password Encryption Pin
zaboboa24-Jan-06 5:01
zaboboa24-Jan-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.