Click here to Skip to main content
11,806,931 members (63,887 online)
Click here to Skip to main content

An implementation of Command pattern in C#

, 3 Nov 2010 CPOL 25.8K 827 35
.NET delegates and Generics allow for an elegant implementation of the Command pattern.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Dave Midgley
Software Developer
United Kingdom United Kingdom
After acquiring a degree in Electronic Engineering and Physics from Loughborough University, I moved into software engineering. In 1991 I went freelance and have been contracting ever since. I live in the North West of England and spend most of my spare time on the stage, or in Africa. If you like the code in my articles please feel free to offer me a job. If you would like to support my work with Project African Wilderness in Malawi please go to

| | Privacy | Terms of Use | Mobile
Web01 | 2.8.151002.1 | Last Updated 3 Nov 2010
Article Copyright 2010 by Dave Midgley
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid