Click here to Skip to main content
15,896,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: delegate Pin
leppie25-Sep-08 0:16
leppie25-Sep-08 0:16 
JokeRe: delegate Pin
DaveyM6925-Sep-08 0:18
professionalDaveyM6925-Sep-08 0:18 
AnswerRe: delegate Pin
Mark Churchill25-Sep-08 0:54
Mark Churchill25-Sep-08 0:54 
QuestionRegularExpressionValidator Pin
AtulRane24-Sep-08 23:16
AtulRane24-Sep-08 23:16 
AnswerRe: RegularExpressionValidator Pin
leppie24-Sep-08 23:27
leppie24-Sep-08 23:27 
Questionreport of proc Pin
NiloofarNoroozi24-Sep-08 22:54
NiloofarNoroozi24-Sep-08 22:54 
QuestionHTML to RTF Pin
omlac24-Sep-08 22:14
omlac24-Sep-08 22:14 
QuestionProblem with serialisation in C# Pin
Sudarsan Srinivasan24-Sep-08 22:10
Sudarsan Srinivasan24-Sep-08 22:10 
Confused | :confused: Consider that you have two class, which has excatly the same structure. I mean both of them have the same datamembers. For example,
class Foo
{
string myName;
}

class Bar
{
string myName;
}

In such a case, is it possible to serialise foo in to a file and deserialise it as bar ?? I tried the normal way, but it gave me a typecast exception.

Sudarsan Srinivasan
http://codelog.blogial.com
AnswerRe: Problem with serialisation in C# Pin
Giorgi Dalakishvili24-Sep-08 22:33
mentorGiorgi Dalakishvili24-Sep-08 22:33 
GeneralRe: Problem with serialisation in C# Pin
leppie24-Sep-08 23:11
leppie24-Sep-08 23:11 
GeneralRe: Problem with serialisation in C# Pin
Giorgi Dalakishvili24-Sep-08 23:17
mentorGiorgi Dalakishvili24-Sep-08 23:17 
GeneralRe: Problem with serialisation in C# Pin
leppie25-Sep-08 10:15
leppie25-Sep-08 10:15 
GeneralRe: Problem with serialisation in C# Pin
Sudarsan Srinivasan24-Sep-08 23:50
Sudarsan Srinivasan24-Sep-08 23:50 
AnswerRe: Problem with serialisation in C# Pin
Anthony Mushrow24-Sep-08 22:34
professionalAnthony Mushrow24-Sep-08 22:34 
Questionprinters Pin
arkiboys24-Sep-08 21:50
arkiboys24-Sep-08 21:50 
AnswerRe: printers Pin
Pedram Behroozi24-Sep-08 22:11
Pedram Behroozi24-Sep-08 22:11 
GeneralRe: printers Pin
arkiboys24-Sep-08 22:19
arkiboys24-Sep-08 22:19 
GeneralRe: printers Pin
blackjack215024-Sep-08 23:19
blackjack215024-Sep-08 23:19 
GeneralRe: printers Pin
arkiboys24-Sep-08 23:26
arkiboys24-Sep-08 23:26 
AnswerRe: printers Pin
Pete O'Hanlon24-Sep-08 22:26
mvePete O'Hanlon24-Sep-08 22:26 
GeneralRe: printers Pin
arkiboys24-Sep-08 22:35
arkiboys24-Sep-08 22:35 
AnswerRe: printers Pin
Pedram Behroozi24-Sep-08 23:02
Pedram Behroozi24-Sep-08 23:02 
GeneralRe: printers Pin
arkiboys24-Sep-08 23:08
arkiboys24-Sep-08 23:08 
AnswerRe: printers Pin
Mirko198025-Sep-08 1:58
Mirko198025-Sep-08 1:58 
GeneralRe: printers Pin
arkiboys25-Sep-08 2:26
arkiboys25-Sep-08 2:26 

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.