Monday, April 29, 2013

Published 10:21 PM by with 0 comment

Abstract methods

Normal 0 false false false EN-US X-NONE X-NONE ...
Read More
    email this       edit
Published 12:33 AM by with 0 comment

Abstract

Abstract The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes. Abstract classes have the following features: An abstract class cannot be instantiated. An abstract class may contain abstract methods and accessors. It...
Read More
    email this       edit

Sunday, April 28, 2013

Published 11:01 PM by with 0 comment

Singleton - [Creational Patterns]

Singleton Definition Ensure a class has only one instance and provide a global point of access to it. This structural code demonstrates the Singleton pattern which assures only a single instance (the singleton) of the class can be created. namespace Singleton {     class Program     {         static void Main(string[]...
Read More
    email this       edit