How to use IEnumerable, ICollection, IList, and IQueryable in C#

Understand the differences between the most commonly used interfaces for accessing and manipulating collections of data in C#. The C# programming language provides excellent support for working with collections of data. C# includes several classes and interfaces that can help you query collections of data efficiently. The most commonly used interfaces for working with collections […]

What’s New in C# 12: Primary Constructors, Collection Expressions, and More

As part of the .NET 8 launch, on November 14th Microsoft unveiled the new features of C# 12, the latest version of the popular .NET programming language. As announced the most notable improvements include collection expressions, primary constructors for all classes and structs, syntax to alias any type, and default parameters for lambda expressions. C# […]

Rising C++ closes in on C language

C++ has surpassed Java and may soon eclipse C, according to the Tiobe index of programming language popularity. Cobol is back in the top 20. C++, having already overtaken Java in the Tiobe index of programming language popularity, soon could overtake the C language, too. Also rising in the index were JavaScript and Cobol. In […]

What’s in Microsoft’s New C# Dev Kit for Visual Studio Code

Microsoft announced the preview release of C# Dev Kit, a new extension for Visual Studio Code intended to improve the C# development experience on Linux, macOS, Windows and more. The extension is itself a collection of extensions including the updated C# extension (22 million-plus installs) that is powered by a new open source Language Server […]

C# Overtaking Java in Popularity Index

“The gap between C# and Java never has been so small,” says the latest edition of the TIOBE Index of programming language popularity. “Currently, the difference is only 1.2 percent, and if the trends remain this way, C# will surpass Java in about 2 month’s time.” The TIOBE Index tracks programming language popularity on a […]

How to use structured concurrency in C#

Structured concurrency offers a more organized and more intuitive way of managing the lifetimes of asynchronous tasks. Here’s how to take advantage of it in C#. Modern programming languages such as C# facilitate the efficient use of resources by allowing multiple operations to be executed concurrently. Here concurrently often means asynchronously, when multiple processes must […]

Microsoft Azure CTO says it is time to shun C, C++ languages. Here’s why

Mark Russinovich, the chief technology officer of Microsoft Azure, has said that developers must stop writing codes in programming languages C and C++ and the industry should treat these computer languages as “deprecated”. The developers should rather write codes in “Rust,” a multi-paradigm, general-purpose programming language licesed by MIT and Apache 2.0 (dual-licensed), due to […]

C rival Zig language cracks Tiobe index top 50

Systems programming language that aims to replace C makes the Tiobe index top 50 for the first time. The Google-led Carbon language, an alternative to C++, ranked 168th. Zig, a general purpose programming language that interacts with C/C++ programs and promises to be a modern alternative to C, has made an appearance in the Tiobe […]

How to keep up to date as a C# developer

As a developer, I bet you have a life long passion for learning and with the technology, there is always something exciting going on right now. Thus, how do you navigate in this world of constant change and keep up to date with news, which matters to a smart C# developer?There are plenty of great […]

C# 12 boosts AOT compilation

Latest C# 12 preview introduces an experimental feature that allows generators to reroute code to provide context-specific optimization. C# 12, a planned upgrade to Microsoft’s signature object-oriented language for .NET development, introduces code rerouting to improve compilation, in the latest preview. The update also features access to inline arrays.Available in Visual Studio 17.7 Preview 3 […]