Take advantage of read-only generic interfaces such as IReadOnlyList, IReadOnlyDictionary, and IReadOnlyCollection to prevent modifications to collections in your .NET Core applications. A collection ...
Take advantage of the stream classes in .NET 7 for faster reads and writes of the data in your .NET applications. A stream is an abstraction over a sequence of bytes. You can think of it as a ...
string[] test = new string[]{"Hello Mr. "+get_name(),Random.Next(10)+" is your lucky number"}; string[] names = {"Jim","Bob","Alice"}; string get_name() { int t; t ...
The use pattern matching refactoring introduces C# 9 pattern combinators Of course, helping developers learn about new things while actually working in Visual Studio 2019 was greatly enhanced with the ...