Uploaded January 2014 | Updated September 2026, 1 week ago
If you haven't watched my videos on Polymorphism, please watch those videos prior to watching this video.
1. youtube.com/watch?v=lVqBBkw3LwM
2. youtube.com/watch?v=xTnuXtZVb-E
The Template Method Pattern is probably the most often used Design Pattern. Essentially, is allows defining an operation and the sequence of steps that comprise this operation in a base class, while allowing descendants to implement, override or ignore certain steps of the operation and thus providing differing behavior across different descendants.
Although most design patterns hinge upon polymorphism, the Template Method Pattern I believe is the "classic" use of polymorphism, in that ancestors, "reach into descendants".
If you haven't watched my videos on Polymorphism, please watch those videos prior to watching this video.
1. youtube.com/watch?v=lVqBBkw3LwM
2. youtube.com/watch?v=xTnuXtZVb-E
The Template Method Pattern is probably the most often used Design Pattern. Essentially, is allows defining an operation and the sequence of steps that comprise this operation in a base class, while allowing descendants to implement, override or ignore certain steps of the operation and thus providing differing behavior across different descendants.
Although most design patterns hinge upon polymorphism, the Template Method Pattern I believe is the "classic" use of polymorphism, in that ancestors, "reach into descendants".



![C# Flags Enum Explained - Deep Dive
Even if youve defined enums in C# decorated with the [Flags] attribute, youll find this deep dive extremely informative.
In this video I take you under the hood and explain whats really going on and how you can use bitwise operations for enums and treat them as Sets that contain multiple possible values and how to use bitwise operations to answer questions such as
1. Does the set contain X element
2. Add element X to an existing set
3. Remove element X from an existing set
We also explore the bitwise Left Shift operator and how we can use it while defining our enum elements and their values. C# Flags Enum Explained - Deep Dive](https://i.ytimg.com/vi/kztYsmUJNU4/mqdefault.jpg)






