Changing State with the Switch Expression (C# 8)

Changing State with the Switch Expression (C# 8)

A previous blog article on moving from the switch statement to the C# 8 switch expression led to some comments … Continue reading Changing State with the Switch Expression (C# 8)

C# 8: Indexes and Ranges

C# 8: Indexes and Ranges

A new feature with .NET Core 2.1 is the Span type. This type allows direct access to memory in the stack, in the managed heap, and in the native heap. A great feature of the Span type is to take a split of the memory to access only an area within. The next step is to extend this to the C# programming language with ranges. Continue reading C# 8: Indexes and Ranges