Home

C# Code Snippets Pattern matching
In this code snippet, we will take a look at pattern matching in C#. Pattern matching is simply testing if an expression
C# Code Snippets Nullable types Null Checking And Coalescing Operators
In this code snippet, we will take a look at the nullable types, null coalescing and checking operators in C#. Reference types
C# Code Snippets Records
In this code snippet, we will take a look at records in C#. Records can be used instead of classes
C# Code Snippets Readonly
In this code snippet, we will take a look at the readonly keyword in C#. Obviously, a variable/field marked as readonly can
C# Code Snippets Code Benchmarking
In this code snippet, we'll see how to benchmark C# code. Benchmarking can be useful to find out how well a
C# Code Snippets Tuples
In this code snippet, we will take a look at tuples in C#. Tuples allow you to quickly and easily create
C# Code Snippets Ranges
In this code snippet, we will take a look at ranges in C#. Ranges give you a quick and easy syntax
C# Code Snippets Boxing
In this code snippet, we will take a look at boxing and unboxing in C#. Boxing happens when a value data
C# Code Snippets Dynamic Keyword
Dynamic allows you to save any data type into a variable or pass any type into a method/return any type
C# Code Snippets DateTime
In this code snippet, we will take a look at DateTime in C#. DateTime is used to represent dates and times
Advertisment ad adsense adlogger