Features of C# 9.0 1) Records 2) Init-Only Properties 3) Top Level Statements 4) Target-Typed New Expressions 5) Improved Pattern Matching 6) Asynchronous Streams 7) Improved module support 8)Improved Nullable Reference Types
Features of C# 7.0
C# 7 was released in 2017 with several new features to the C# language. Some of the notable features of C# 7 which you will be interested in are here
What is string interpolation in C#
Interpolating expression values into literal strings is possible with the technique known as string interpolation. String interpolation feature was introduced in C# 6. A string is considered as an interpolated string if it contains the interpolation expression. Using string interpolation in C# is the subject of this article. String is identified as an interpolated string in […]
What Is The Use Of Volatile Keyword In C#
A variable’s value must never be cached in C# because it may change outside of the scope of the program itself. Compiler optimizations that may cause problems if the variable changes “outside of its control” will be avoided. But in case if we need a field variable to be modified within the program by means […]
Get System IP Address Using C#
When it comes to networking, IP addresses are a must-have. While it may not be as critical from a C# perspective, we will look about the System as a result of this. There’s a lot of .NET namespace involved in here. We may only needed the IP address of a local device. So check the […]
C# Fixed Size Buffer
C# Fixed Array This article covers declaring a C++ style fixed-size structure was difficult in earlier versions of C#. But with advanced versions of C# fixed size array are possible. We are not discussing here about the array length or static or dynamic array which deals with an array capacity. In .NET normally arrays are reference […]