Top Level Statement in C# 9.0
C# 9.0 introduced a new feature called Top Level Statement. Top-Level Statement allows developers to write programs without explicitly defining…
C# 9.0 introduced a new feature called Top Level Statement. Top-Level Statement allows developers to write programs without explicitly defining…
In the previous post, you learnt about – What is the difference between Ref and Out Keyword in C#? Both, the…
Continuing with the Back to Basics series, here is another common and frequently asked question. What is the difference between…
Continuing with the Back to Basics series, here is another common and quite confusing question. What is read-only and constant…
The enum type is one of the common features that we used during almost every implementation. While the declarations and…
“Expression-bodied methods” were introduced with C# 6.0, that simplify the syntactic expression for methods in C#. C# 7.0 extend this…
During development, often we use literal in our code. They are the fixed values which may not alter during the…
In C# 7.0, you can now have your helper function defined with in the method itself. The local function can…