Category: C#


Avoid returning null in your code

If you have read the book “Clean Code: A Handbook of Agile Software Craftsmanship” by Robert C. Martin, you know that how things could go wrong when you return null from a method! This time I...

delegate-csharp 0

C# variance in delegates

Alright! I had a handy experience in a project (of which I will speak later) which I have decided to share it with you guys and it is about C# Variance in delegates. When...


C# Interactive is super handy

C# Interactive is super handy and it is a REPL (Read-Eval-Print-Loop), in the same vein as shell languages. It was introduced in late 2015, is accessible directly from Visual Studio and allows to enter...