You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[Params Collections](ParamsCollections/Program.cs)| Demonstrates data passing to functions via the params keyword using `IEnumerable`, `List<T>[]`, and `ReadOnlySpan<T>`. Offers a clean and performance-oriented approach for collection-based data processing scenarios. |
16
+
|[New Escape Sequence](NewEscapeSequence/Program.cs)| Uses `\e`, `\u001B`, and `\x1B` to emit ANSI escape codes for styled console output (underline, blink, RGB color). Demonstrates safer alternatives to `\x1B` and dynamic escape code generation. |
17
+
|[Extension Types](ExtensionTypesCsharp13/Program.cs)| Demonstrates extension methods in C# 3.0 and the upcoming C# 13. Highlights the new implicit extension feature, enabling scoped instance and static member extensions. It includes bitwise accessors using modern syntax for `ulong`. |
18
+
|[The lock statement](TheLockStatement/Program.cs)| Singleton pattern with concurrency control using `System.Threading.Lock`. Demonstrates task lifecycle management via nested Task instances with `AttachedToParent` and instance checks using C# 9 `is not null` pattern matching. |
19
+
|[New LINQ Methods](NewLINQMethodsCsharp13/Program.cs) <br>*`Index()` <br>*`CountBy()` <br>*`AggregateBy()`|Demonstrates advanced LINQ operations using `Index`, `CountBy`, and `AggregateBy` extensions for indexed iteration, grouped counting, and key-based aggregation over collections. Enables more expressive and composable query patterns. |
20
+
|[CreateUnboundedPrioritized](CreateUnboundedPrioritized/Program.cs)|Introduced in .NET 9, `Channel.CreateUnboundedPrioritized` enables a priority-based, unbounded, thread-safe message queue. This sample demonstrates prioritized, asynchronous message processing—ideal for real-time, concurrent workloads. |
0 commit comments