What should one do to make class serializable?

Answer Posted / manjunath

[serializable]

Just add a serializable attribute before the class.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to improve the cache performance? : Dot net architecture

536


5. Wcf- Session Managment

1578


What is a service contract, operation contract and data contract?

539


State the different levels of exceptional safety?

577


What size is a .net object?

637






Explain the five stages in a dlx pipeline? : .NET Architecture

515


What are public and private assemblies ?

544


Explain different pipelining hazards and how are they eliminated? : Dot net architecture

505


What happens to the winfx technologies?

582


HttpHendler and HttpModules

1696


deference between display and visibility property of CSS

1795


Explain 'managed' mean in the .NET context

701


Explain hard disk? : Dot net architecture

585


What is the difference between an event and a delegate?

529


Can you Explain element .net mobile with example? : Microsoft dot net mobile

493