Click here to Skip to main content
12,625,402 members (36,613 online)
   

C#

 
Questionreturning the largest int variable Pin
RichB377-Dec-12 13:54
memberRichB377-Dec-12 13:54 
AnswerRe: returning the largest int variable Pin
PIEBALDconsult7-Dec-12 15:15
memberPIEBALDconsult7-Dec-12 15:15 
GeneralRe: returning the largest int variable Pin
RichB377-Dec-12 16:00
memberRichB377-Dec-12 16:00 
GeneralRe: returning the largest int variable Pin
Zac Greve7-Dec-12 18:03
memberZac Greve7-Dec-12 18:03 
AnswerRe: returning the largest int variable Pin
Dave Kreskowiak7-Dec-12 19:41
mvpDave Kreskowiak7-Dec-12 19:41 
GeneralRe: returning the largest int variable Pin
RichB377-Dec-12 19:51
memberRichB377-Dec-12 19:51 
AnswerRe: returning the largest int variable Pin
CommDev9-Dec-12 0:52
memberCommDev9-Dec-12 0:52 
QuestionManual serialization of a class that contains the same class Pin
nadavst7-Dec-12 12:34
membernadavst7-Dec-12 12:34 
Hi,

I would like to serialize a class (Person),
That contains a field called "Spouse", of the same type(Person).

I'm having a bit of problem doing that because I don't know
when to stop writing.

I'm trying to do it manualy, not with XmlSerializer BinaryFormatter ect.

BTW
when I do try to serialize with the classes mentioned above, XmlSerializer - works fine only when I'm not serialize "Spouse" field.
with BinaryFormatter it works well.

public class Person
{
        public int Age { get; set; }
        public FullName Name { get; set; }
        public Address Address { get; set; }
        public Person Spouse { get; set; }
}

AnswerRe: Manual serialization of a class that contains the same class Pin
Richard MacCutchan7-Dec-12 23:02
mvpRichard MacCutchan7-Dec-12 23:02 
GeneralRe: Manual serialization of a class that contains the same class Pin
nadavst8-Dec-12 0:23
membernadavst8-Dec-12 0:23 
GeneralRe: Manual serialization of a class that contains the same class Pin
Richard MacCutchan8-Dec-12 23:20
mvpRichard MacCutchan8-Dec-12 23:20 
GeneralRe: Manual serialization of a class that contains the same class Pin
nadavst9-Dec-12 21:53
membernadavst9-Dec-12 21:53 
AnswerRe: Manual serialization of a class that contains the same class Pin
lukeer9-Dec-12 21:54
memberlukeer9-Dec-12 21:54 
GeneralRe: Manual serialization of a class that contains the same class Pin
nadavst10-Dec-12 0:17
membernadavst10-Dec-12 0:17 
AnswerRe: Manual serialization of a class that contains the same class Pin
BobJanova9-Dec-12 23:53
memberBobJanova9-Dec-12 23:53 
QuestionHow to pase the CCD (continuity Careof Document )in xml format to fetch that in dataset in ASP.NET Pin
shamalj7-Dec-12 4:50
membershamalj7-Dec-12 4:50 
Questionapplication to update itself... Pin
Jassim Rahma7-Dec-12 3:10
memberJassim Rahma7-Dec-12 3:10 
AnswerRe: application to update itself... Pin
Simon_Whale7-Dec-12 3:22
memberSimon_Whale7-Dec-12 3:22 
AnswerRe: application to update itself... Pin
Dave Kreskowiak7-Dec-12 5:41
mvpDave Kreskowiak7-Dec-12 5:41 
GeneralRe: application to update itself... Pin
Ennis Ray Lynch, Jr.7-Dec-12 6:03
memberEnnis Ray Lynch, Jr.7-Dec-12 6:03 
AnswerRe: application to update itself... Pin
Pathachiever7-Dec-12 7:08
memberPathachiever7-Dec-12 7:08 
Questionhow to convert hex to rgb color code in asp.net Pin
Deenuji vellore7-Dec-12 0:13
groupDeenuji vellore7-Dec-12 0:13 
AnswerRe: how to convert hex to rgb color code in asp.net Pin
Simon_Whale7-Dec-12 0:33
memberSimon_Whale7-Dec-12 0:33 
GeneralRe: how to convert hex to rgb color code in asp.net Pin
Deenuji vellore7-Dec-12 0:59
groupDeenuji vellore7-Dec-12 0:59 
GeneralRe: how to convert hex to rgb color code in asp.net Pin
Simon_Whale7-Dec-12 1:13
memberSimon_Whale7-Dec-12 1:13 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 3 Dec 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid