Geeks With Blogs
Maziar Taheri Abkenar Design Patterns
Serializing Singleton Objects (C#)
Technorati Tags: Serialization,ISerializable... Patterns You know that when you serialize an object and then deserialize the main object and the deserialized one are different objects (different references). So what if you do not intend such behavior i.e in a singleton class. I’m almost certain that everyone is familiar with singleton pattern that solves the problem of having only 1 instance of a class in the entire application; so I’m not giving a speech about that here. Assume we ......

Posted On Thursday, July 19, 2012 6:12 PM

Copyright © Maziar Taheri | Powered by: GeeksWithBlogs.net