XML serialization with Boolean variables

Jul 21 2010 3:16 AM
Hi All,

In My application, I am Serializing an object into an XML file, while serializing i am not getting any error.

But after serialization completion, then i am checking the XML file it is missing the Properties which are of type boolean and remaining all are in the XML file,

If any one knows the reason, please post your valuable answers.

for example
class abc
{
public int X
{set;
get;
}
public String XY
{set;
get;
}
public bool XB
{set;
get;
}
}

while serializing the above abc class object we are getting the XY,X values but we are not getting the XB in the XML File.

Thanks in advance...

Thanks and Regards
V.S.R.K.Raju...