Nullable Reference Types in C# 8

IntroductionWith C# 8 you can now use a new feature in the language called Nullable Reference Types.   The Nullable Reference Types feature in C# 8 is disabled by default even if you specify C# 8 as your language version in Visual StudioHow to enable the featureYou can enable the feature by setting the Nullable property to enable inside your […]

Continue reading

Switch Expression in C# 8

IntroductionC# 8 introduce switch expression, an elegant and compact new way to write switch statements. It’s important to note that the switch expression is not a replacement to the classic switch statement but it can be used in the majority of the situations. What you can do with the switch expression can always be done with […]

Continue reading

How Delegates Work in C#

Most developers new to C# don’t fully understand how delegates work and it’s a frequently asked question in the Productive C# membership. This post contains everything there is know about delegates in C#. Share this, if you think it can help an other fellow C# developer. Share0 Tweet0 Share0 What is a C# delegate?A C# […]

Continue reading
1 2 3 76
>