facebook
New features of C# 8: part two

New features of C# 8: part two

In my previous article, we discover the first part of the new features of C#8: let’s see now together what else this new version of Microsoft’s home language makes available to us. New Switch Expression The new switch expressions have been released, and they introduce...
New features of C# 8: part one

New features of C# 8: part one

C# is the reference language of the Microsoft .NET world and is updated periodically. In Visual Studio 2019, .Net Core 3.x and .Net standard 2.1, we find support for version 8, which is enriched with many new features that are not only compiler functions...
Async and await in real applications

Async and await in real applications

When we use a method that needs a long time to run (i.e., for reading a large size file or downloading heavy resources from the network), in a synchronized application, the application itself stops running until the activity is completed. In these cases,...
Improve you code with Reflection

Improve you code with Reflection

Reflection is a .NET framework functionality that allows us to inspect and manipulate the Metadata and the code compiled in a .NET assembly at runtime. It is a very powerful feature, but, as all the instruments at our disposal, we should understand how it works to use...
Custom Type Conversion in C#

Custom Type Conversion in C#

A professional code developer needs solid foundation. Our daily work can drive us away from what we have studied, as well as the routine can push us to repeat always the same mistakes. A review of the fundamentals is a useful exercise, can’t be bad! So...