Switch to full style
Codes, tips and tricks,discussions and solutions related to C#
Post a reply

What is the use of serializable keyword in C#

Fri Jun 19, 2009 1:23 pm

What is the use of serializable keyword in C#?



Re: C#

Sat Oct 03, 2009 2:29 pm

serializable means that this class can be convert to xml or from xml.
(At least i used it for it)

for ex:

Code:

class Root
{
 string name;
}
 

means
Code:
<Root>
<
name>...</name>
</
Root>
 

XmlSerializable - use it for this.

Post a reply
  Related Posts  to : What is the use of serializable keyword in C#
 Is null a keyword     -  
 java instanceof keyword     -  
 switch keyword in c++ usage     -  
 Java volatile keyword     -  

Topic Tags

C# Serialization