Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to format an integer into a string? Pin
J. Dunlap22-Dec-03 15:09
J. Dunlap22-Dec-03 15:09 
AnswerRe: How to format an integer into a string? Pin
J. Dunlap22-Dec-03 12:02
J. Dunlap22-Dec-03 12:02 
GeneralXml serialization problem Pin
Wizard_0122-Dec-03 11:08
Wizard_0122-Dec-03 11:08 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:12
protectorHeath Stewart22-Dec-03 11:12 
GeneralRe: Xml serialization problem Pin
Wizard_0122-Dec-03 11:26
Wizard_0122-Dec-03 11:26 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:40
protectorHeath Stewart22-Dec-03 11:40 
GeneralRe: Xml serialization problem Pin
Wizard_0122-Dec-03 11:54
Wizard_0122-Dec-03 11:54 
GeneralRe: Xml serialization problem Pin
Heath Stewart22-Dec-03 11:59
protectorHeath Stewart22-Dec-03 11:59 
Changing XML serialization is not feasibily possible, but it is technically possible. Frankly, though, you should look for ways to avoid circular references. This can be disasterous for the CLR when cleaning up or disposing objects.

To extend it a little, you can implement IXmlSerializable, but there is little documentation about this because you're not supposed to implement it. I used ildasm.exe to find out the details since they aren't well documented and did it with success, but I don't know if that'll solve your problem. The most you can do is nest your elements so that in your serializated XML document they don't appear circular - your serialization routines should be programmed to construct the objects again.

 

-----BEGIN GEEK CODE BLOCK-----
Version: 3.21
GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++
-----END GEEK CODE BLOCK-----
GeneralRe: Xml serialization problem Pin
J. Dunlap22-Dec-03 21:33
J. Dunlap22-Dec-03 21:33 
GeneralRe: Xml serialization problem Pin
Heath Stewart23-Dec-03 2:40
protectorHeath Stewart23-Dec-03 2:40 
GeneralRe: Xml serialization problem Pin
J. Dunlap23-Dec-03 10:38
J. Dunlap23-Dec-03 10:38 
QuestionMicrosoft .NET parser C# error ? Pin
identy22-Dec-03 9:20
identy22-Dec-03 9:20 
AnswerRe: Microsoft .NET parser C# error ? Pin
J. Dunlap22-Dec-03 9:31
J. Dunlap22-Dec-03 9:31 
GeneralRe: Microsoft .NET parser C# error ? Pin
Anonymous22-Dec-03 23:48
Anonymous22-Dec-03 23:48 
GeneralRe: Microsoft .NET parser C# error ? Pin
Member 26118822-Dec-03 23:48
Member 26118822-Dec-03 23:48 
GeneralRe: Microsoft .NET parser C# error ? Pin
identy6-Jan-04 9:53
identy6-Jan-04 9:53 
GeneralString Alignment Question Pin
RB@Emphasys22-Dec-03 8:18
RB@Emphasys22-Dec-03 8:18 
GeneralRe: String Alignment Question Pin
leppie22-Dec-03 9:57
leppie22-Dec-03 9:57 
GeneralRe: String Alignment Question Pin
Heath Stewart22-Dec-03 11:10
protectorHeath Stewart22-Dec-03 11:10 
GeneralRe: String Alignment Question Pin
RB@Emphasys29-Dec-03 3:07
RB@Emphasys29-Dec-03 3:07 
GeneralRe: String Alignment Question Pin
Heath Stewart29-Dec-03 3:56
protectorHeath Stewart29-Dec-03 3:56 
QuestionStatic destructor? Pin
CBoland22-Dec-03 6:07
CBoland22-Dec-03 6:07 
AnswerRe: Static destructor? Pin
leppie22-Dec-03 6:38
leppie22-Dec-03 6:38 
GeneralRe: Static destructor? Pin
CBoland22-Dec-03 7:04
CBoland22-Dec-03 7:04 
GeneralString tokenizer in C# Pin
dabs22-Dec-03 5:37
dabs22-Dec-03 5:37 

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.