Click here to Skip to main content
15,889,335 members
Home / Discussions / C#
   

C#

 
GeneralRe: Serializing an object which contains other objects.. Pin
morefire25-Sep-03 2:40
morefire25-Sep-03 2:40 
Questionxp style menu with merge option? Pin
Tomaž Štih24-Sep-03 23:37
Tomaž Štih24-Sep-03 23:37 
GeneralDrag & Drop Pin
Mazdak24-Sep-03 21:29
Mazdak24-Sep-03 21:29 
GeneralRe: Drag & Drop Pin
J. Dunlap24-Sep-03 22:00
J. Dunlap24-Sep-03 22:00 
GeneralRe: Drag & Drop Pin
Mazdak24-Sep-03 23:52
Mazdak24-Sep-03 23:52 
GeneralRe: Drag & Drop Pin
J. Dunlap25-Sep-03 11:09
J. Dunlap25-Sep-03 11:09 
GeneralRe: Drag & Drop Pin
Mazdak25-Sep-03 20:31
Mazdak25-Sep-03 20:31 
GeneralVersionning and serialization Pin
Stephane David24-Sep-03 21:23
Stephane David24-Sep-03 21:23 
I have a class that contains two variables.

Class Toto
{
public int Var1;
public string Var2;
}

I serialize this class through a binary formatter.
Everything runs fine.

Now, I want to add a new var to my class


Class Toto
{
public int Var1;
public string Var2;
public string Var3;
}

If I try to deserialize my previously saved bin, I got an error.

Is there a way to deserialize an "old version" of the class, reading only the fields that existed at the time of serialization, and leaving the new fields empty?


QuestionHow to create TCP Listener windows service usingC# Pin
Baqer24-Sep-03 19:53
Baqer24-Sep-03 19:53 
AnswerRe: How to create TCP Listener windows service usingC# Pin
James Simpson25-Sep-03 3:48
James Simpson25-Sep-03 3:48 
QuestionWhat's different between OnLoad and [FormName]_Load? Pin
Libra24-Sep-03 17:43
Libra24-Sep-03 17:43 
AnswerRe: What's different between onload and [FormName]_Load? Pin
Derek Lakin24-Sep-03 21:41
Derek Lakin24-Sep-03 21:41 
GeneralWriting hexadecimal to a file Pin
samodrak24-Sep-03 15:00
samodrak24-Sep-03 15:00 
GeneralRe: Writing hexadecimal to a file Pin
Julian Bucknall [MSFT]25-Sep-03 5:03
Julian Bucknall [MSFT]25-Sep-03 5:03 
GeneralSocket Blocking Pin
Andrew Shapira24-Sep-03 14:40
Andrew Shapira24-Sep-03 14:40 
GeneralHelp with regular expressions Pin
Wjousts24-Sep-03 13:17
Wjousts24-Sep-03 13:17 
GeneralRe: Help with regular expressions Pin
Blake Coverett24-Sep-03 13:31
Blake Coverett24-Sep-03 13:31 
GeneralRe: Help with regular expressions Pin
Wjousts24-Sep-03 15:04
Wjousts24-Sep-03 15:04 
GeneralRe: Help with regular expressions Pin
Anthony_Yio24-Sep-03 17:16
Anthony_Yio24-Sep-03 17:16 
GeneralCOM Interop - .NET COM events and C++ client Pin
blade24-Sep-03 12:54
blade24-Sep-03 12:54 
General? The Key Events Pin
Frank Olorin Rizzi24-Sep-03 12:19
Frank Olorin Rizzi24-Sep-03 12:19 
GeneralRe: ? The Key Events Pin
Frank Olorin Rizzi24-Sep-03 12:48
Frank Olorin Rizzi24-Sep-03 12:48 
GeneralInfo for switch statements Pin
Omega50124-Sep-03 11:59
Omega50124-Sep-03 11:59 
GeneralRe: Info for switch statements Pin
Julian Bucknall [MSFT]24-Sep-03 14:55
Julian Bucknall [MSFT]24-Sep-03 14:55 
GeneralRe: Info for switch statements Pin
Omega50124-Sep-03 18:31
Omega50124-Sep-03 18:31 

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.