GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  C#

 Print  |  
Question:  C# Serializable Keyword

Answer: What is the use of serializable keyword in C#?


December 12, 2008 06:21:08 #1
 GeekBoy001   Member Since: December 2008    Total Comments: 1 

RE: C# Serializable Keyword
 
Marking a class with the key word [Serializable] at the top ensures that the object can be serialized in an XML format primarily for data exchange between disparate systems.  Also, this is required if this object is going to be inherited by other objects which needs to be serialized downstream.
     

 

Back To Question