Uploaded January 2020 | Updated September 2026, 1 week ago
The Iterator pattern plays a big part in Streaming (a feature we've had in C# for a while) and Async Streams (a brand new feature in C# 8). In this video we take a deep look into the iterator pattern so when we encounter it in C# 8's Async Streams, we'll be on more stable footing
The Iterator pattern plays a big part in Streaming (a feature we've had in C# for a while) and Async Streams (a brand new feature in C# 8). In this video we take a deep look into the iterator pattern so when we encounter it in C# 8's Async Streams, we'll be on more stable footing
![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)









