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 ...
The keywords const, readonly, and static are used often when programming in C#. However, while these keywords have important differences, they also have similarities that sometimes make it hard to ...
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 ...
Visual Basic development in Visual Studio 11 offers asynchronous methods, iterators, call hierarchy, the Global keyword and Windows 8 Metro-based applications. One of the primary themes in Windows 8 ...