Showing posts with label c#. Show all posts
Showing posts with label c#. Show all posts

Sunday, June 9, 2013

Published 1:14 AM by with 0 comment

Abstract Classes C#

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

Wednesday, May 8, 2013

Published 9:50 PM by with 0 comment

Template Method Pattern

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

Composite Pattern - [Structural Patterns]

Definition [Download cs c#] Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.     //Component class     abstract class Component     {         protected string name;        ...
Read More
    email this       edit

Sunday, May 5, 2013

Published 11:24 PM by with 0 comment

Observer Pattern - [Behavioral Patterns]

Observer Pattern  [Download cs c#] Definition Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.     //Observer Class     abstract class Observer    ...
Read More
    email this       edit