C# 8 is not scheduled anytime soon. After all, there is already work ongoing towards C# 7.2 and it looks like there are also plans for a C# 7.3. So, this revision is far down the road. Still, we can take a peek at some of the new shiny things that it will bring.
The world of databases has changed significantly in the last eight years or so. Do you remember the time when word database was equivalent to a relational database? It is no longer a case.
In previous blog posts, Mongo DB basics part 1. and part 2. I covered some of the MongoDB basics. Let's see how one can youse MongoDB from C#.
There are many arguments on the web regarding the switch-case statement. It seems that half of the programmers think that switch-case statement is actually an anti-pattern, and other half claims there are in fact use cases for this concept. Usually, the second group tries to prove a point that in some simple situations it is alright… Continue reading Abolishing Switch-Case Statement and Pattern Matching in C# 7.0
The Singleton Pattern is probably the most well-known design patterns that came out of Gang of Four's book Design Patterns: Elements of Reusable Object-Oriented Software. This pattern is one of the creational patterns, and basically, it ensures that only one object of a particular class is created and shared among other members of the system.
In the same time when first object-oriented languages were emerging, another concept inspired by general relativity and quantum mechanics was taking shape - actor model.
Back in the day when I was a young developer, I was using output parameters. Then I figured out it is somewhat complicated to test functions with output parameters, and that their use is clunky at best. Also, out parameters don't work with async function, because of CLR limitations.