Click here to Skip to main content
15,905,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:28
bouli18-May-04 10:28 
GeneralRe: Modems and applications Pin
Tom Larsen18-May-04 10:33
Tom Larsen18-May-04 10:33 
GeneralRe: Modems and applications Pin
Dave Kreskowiak18-May-04 10:33
mveDave Kreskowiak18-May-04 10:33 
GeneralRe: Modems and applications Pin
bouli18-May-04 10:38
bouli18-May-04 10:38 
GeneralMachines IP Address Pin
Dylan van Heerden18-May-04 8:21
Dylan van Heerden18-May-04 8:21 
GeneralRe: Machines IP Address Pin
Heath Stewart18-May-04 9:35
protectorHeath Stewart18-May-04 9:35 
GeneralRe: Machines IP Address Pin
Dylan van Heerden19-May-04 8:39
Dylan van Heerden19-May-04 8:39 
GeneralNetwork Bandwidth and Load Balancing Pin
bouli18-May-04 8:08
bouli18-May-04 8:08 
GeneralRe: Network Bandwidth and Load Balancing Pin
leppie18-May-04 9:04
leppie18-May-04 9:04 
GeneralPopulating a combobox with a listview Pin
mikeyb2518-May-04 7:30
mikeyb2518-May-04 7:30 
GeneralRe: Populating a combobox with a listview Pin
JockerSoft18-May-04 7:51
JockerSoft18-May-04 7:51 
QuestionHow do you format your code? [edit] fixed a bit [/edit] Pin
Adam °Wimsatt18-May-04 7:03
Adam °Wimsatt18-May-04 7:03 
AnswerRe: How do you format your code? [edit] fixed a bit [/edit] Pin
leppie18-May-04 7:07
leppie18-May-04 7:07 
GeneralRe: How do you format your code? [edit] fixed a bit [/edit] Pin
Adam °Wimsatt18-May-04 7:14
Adam °Wimsatt18-May-04 7:14 
GeneralRe: How do you format your code? [edit] fixed a bit [/edit] Pin
leppie18-May-04 8:55
leppie18-May-04 8:55 
GeneralRe: How do you format your code? [edit] fixed a bit [/edit] Pin
Adam °Wimsatt18-May-04 9:11
Adam °Wimsatt18-May-04 9:11 
GeneralRe: How do you format your code? [edit] fixed a bit [/edit] Pin
leppie18-May-04 9:28
leppie18-May-04 9:28 
AnswerRe: How do you format your code? [edit] fixed a bit [/edit] Pin
Heath Stewart18-May-04 9:27
protectorHeath Stewart18-May-04 9:27 
GeneralRe: How do you format your code? [edit] fixed a bit [/edit] Pin
Adam °Wimsatt18-May-04 9:31
Adam °Wimsatt18-May-04 9:31 
GeneralDatagrid quation Pin
Ashki18-May-04 6:18
Ashki18-May-04 6:18 
GeneralRe: Datagrid quation Pin
Heath Stewart18-May-04 6:31
protectorHeath Stewart18-May-04 6:31 
GeneralDeserialization Pin
cristina_tudor18-May-04 5:54
cristina_tudor18-May-04 5:54 
I have the following problem:
I have 2 classes: MyClass1 and MyClass2. MyClass1 contains a collection ArrayList of MyClass2 objects. In MyClass1 I implement the ISerializable interface. How do I write the constructor for deserialization, especially when I deserialize MyClass2 object?

//Deserialization constructor

public MyClass1 (SerializationInfo info, StreamingContext context) <br />
{<br />
    simpleVar1 = (int)info.GetValue("simpleVar1", typeof(int));<br />
    simpleVar2 = (String)info.GetValue("simpleVar2", typeof(string)); 
//and so on with the simple members of MyClass1
//Deserialize MyClass2 objects from the ArrayList (member of MyClass1)
????????????????????????????????????<br />
}



Thanks for the help!
Best regards,

Cristina
GeneralRe: Deserialization Pin
Heath Stewart18-May-04 6:27
protectorHeath Stewart18-May-04 6:27 
GeneralTrying to understand DataSet and XML Pin
Adam °Wimsatt18-May-04 5:13
Adam °Wimsatt18-May-04 5:13 
GeneralRe: Trying to understand DataSet and XML Pin
Heath Stewart18-May-04 5:23
protectorHeath Stewart18-May-04 5:23 

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.