C# Corner

Related resources for GOF
  • Understanding GOF Design Pattern With Simple Examples - Part One11/20/2016 11:45:05 AM. In this article, we will go through some of the highly used design patterns, with simple examples.
  • Customize Windows 8 Shutdown, Logon and Logoff Sounds2/4/2013 2:13:46 PM. In this article we explain how to customize the Windows 8 shutdown, logon and logoff sounds.
  • Shutdown and Restart System Through C# Code1/10/2013 11:33:24 PM. In this article, I am going to show how to shutdown, restart, Lock, Logoff, Sleep etc. through C# Code.
  • How to Clear Notification of Metro Apps at Logoff in Windows 810/29/2012 6:09:59 PM. In this article we are going to explain how to clear notification of Metro Apps at Logoff in Windows 8.
  • Wrapper Patterns in C#, Part II: The Proxy Pattern10/4/2012 10:36:09 AM. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#: Part I10/4/2012 10:33:03 AM. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • The GOF Abstract Factory Design Pattern In C#10/4/2012 7:50:42 AM. This article covers the basics of the GOF Abstract Factory design pattern by looking at building Model T automobiles.
  • The GOF "Chain of Responsibility" Design Pattern10/3/2012 10:31:21 AM. The Chain of Responsibility pattern is used to pass responsibility for handling a call to another class. This article gives a basic overview of the pattern.
  • Bridge Patterns in C# 10/3/2012 8:17:57 AM. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"5/15/2012 3:50:18 PM. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • Introduction to the GOF Strategy Pattern in C#5/15/2012 3:44:05 PM. For this article, we’ll be building an exciting calculation engine that does remarkable things like adding, subtracting, multiplying and dividing through implementation of the strategy pattern.
  • Introduction to the Visitor Pattern5/15/2012 2:37:43 PM. The power of adding a functional extensibility point to our classes via the visitor pattern is often overlooked. Using a visitor pattern is a very effective means of providing a nice boundary around a set of core classes while at the same time allowing for functional change. This article will demonstrate how the visitor pattern can be used as an extensibility mechanism and provide a boundary to keep core domain classes from getting cluttered.
  • Introduction about Command Design Pattern5/15/2012 2:31:24 PM. The Command pattern creates distance between the client that requests an operation and the object that can perform it.
  • Facade Design Pattern10/25/2010 3:01:35 AM. This article talks about facade design pattern.
  • Introduction to the Adapter Pattern3/8/2009 12:00:00 AM. This short (4:05) video demonstrates the essence of the Adapter pattern.
  • Introduction to the Adapter Pattern3/8/2009 12:00:00 AM. This short (4:05) video demonstrates the essence of the Adapter pattern.
  • Introduction to the Command Pattern3/8/2009 12:00:00 AM. This short (3:05) video demonstrates the essence of the Command pattern.
  • Introduction to the Command Pattern3/8/2009 12:00:00 AM. This short (3:05) video demonstrates the essence of the Command pattern.
  • Introduction to the Strategy Pattern3/8/2009 12:00:00 AM. This short (4:45) video demonstrates the essence of the Strategy pattern.
  • Introduction to the Strategy Pattern3/8/2009 12:00:00 AM. This short (4:45) video demonstrates the essence of the Strategy pattern.
  • Introduction to the State Pattern3/8/2009 12:00:00 AM. This short (6:11) video demonstrates the essence of the State pattern.
  • Introduction to the Observer Pattern3/8/2009 12:00:00 AM. This short (4:48) video demonstrates the essence of the Observer pattern.
  • Introduction to the Observer Pattern3/8/2009 12:00:00 AM. This short (4:48) video demonstrates the essence of the Observer pattern.
  • Lock, Logoff, Reboot, Shutdown, Hibernate, Standby in .Net2/14/2007 2:26:22 AM. This article is about how to lock, logoff, reboot, shutdown and put the system to hibernate and standby mode.
  • Lock, Logoff, Reboot, Shutdown, Hibernate, Standby in .Net2/14/2007 2:26:22 AM. This article is about how to lock, logoff, reboot, shutdown and put the system to hibernate and standby mode.
  • Lock, Logoff, Reboot, Shutdown, Hibernate, Standby in .Net2/14/2007 2:26:22 AM. This article is about how to lock, logoff, reboot, shutdown and put the system to hibernate and standby mode.
  • Bridge Pattern in VB.NET1/21/2007 11:56:32 PM. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • Bridge Pattern in VB.NET1/21/2007 11:56:32 PM. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • Adapter Pattern in VB.NET3/18/2006 6:20:20 AM. During object-oriented developments, some times we have to use an unrelated class along with our existing class hierarchy. The simplest solution is to make a wrapper or adaptor around the foreign class, which is acceptable by the existing class hierarchy. This is what known as the ADAPTOR PATTERN or WRAPPER PATTERN.
  • Adapter Pattern in VB.NET3/18/2006 6:20:20 AM. During object-oriented developments, some times we have to use an unrelated class along with our existing class hierarchy. The simplest solution is to make a wrapper or adaptor around the foreign class, which is acceptable by the existing class hierarchy. This is what known as the ADAPTOR PATTERN or WRAPPER PATTERN.
  • Wrapper Patterns in C#, Part III: The Decorator Pattern2/20/2006 8:32:26 AM. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Bridge Patterns in C# 2/1/2006 2:26:02 AM. Bridge Pattern is commonly known as Handle/Body idiom in C++ community. This pattern is used for decoupling an abstraction from its implementation so that the two can vary independently.
  • Design Patterns Part - I2/1/2006 1:05:41 AM. Design patterns are about design and interaction of objects, as well as providing a communication platform concerning elegant, reusable solutions to commonly encountered programming challenges.