Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
In this article we will learn how to build a versioned REST API using C# and ASP.NET Core with Swagger support.

Discover how to use the Abstract Factory Pattern in C# 14 to build a flexible, provider-agnostic notification system.

In software architecture, there are scenarios where only a single instance of a class should exist throughout the lifetime of an application.

In modern C# development, particularly within enterprise applications, it’s common to deal with families of related objects.

Unlock the power of C# Records! Learn how immutable design simplifies modern application development, boosts code safety, and enhances performance.

Primary constructors in C# 12 simplify class and struct initialization by allowing parameters to be declared directly in the class signature. This new feature reduces boilerplate code, making object creation cleaner and more concise. Great for writing modern, readable C# code.

C# var keyword is used to declare implicit type variables. Let's learn what a var is in C# and when to use a var in C#. This blog explains the C# var keyword, showcasing its use in implicit typing, arrays, ArrayList, and LINQ for flexible, type-safe, and readable code development.

The Singleton Design Pattern in C# ensures only one instance of a class exists and provides a global access point. It's ideal for managing shared resources like logging, configuration, or database connections.

C# 14 represents a polished and sophisticated leap forward in the language’s maturity. C# 14 refines the language with primary constructors, collection expressions, interceptors, and performance enhancements.

Let’s dive into C# by doing what developers do best—writing code. As you go through this article, don’t worry if something doesn’t click right away.

System.Linq.Dynamic.Core library does not support SQL LIKE, and I added support for it. Added SQL LIKE support to the System.Linq.Dynamic.Core in .NET 8 using a custom patch. Enables dynamic SQL pattern matching in EF8 projects where built-in LIKE functionality was missing.

AI News Automation is a .NET 8 solution that auto-discovers, summarizes, and publishes trending news using AI, HTML parsing, and scheduling for real-time, scalable, and intelligent content delivery.

In this article, I explore the most important features introduced in C# 14.0, including primary constructors in classes, collection expressions, enhanced pattern matching, and required members. I walk through how each of these additions simplifies code, improves performance, and promotes safer, more expressive development.

Artificial Intelligence (AI) is revolutionizing software development by enabling applications to analyze data, recognize patterns, and make intelligent decisions. Developers leveraging Microsoft’s .NET ecosystem and C# can seamlessly integrate AI into Windows applications, enhancing functionality.

Learn how to efficiently split a list into smaller batches using the Chunk method in C# This method, introduced in .NET 6, simplifies list processing by breaking large collections into manageable chunks.

In the ever-evolving landscape of web development, efficiently retrieving and parsing web data has become crucial. Recently, I had the opportunity to delve into a sophisticated yet efficient C# class that achieves this goal: the HtmlFetcher class.

Learn to Generate QR Code in C# using the QRCode NuGet package. Create a console app, enter data to encode, and save the QR code as a PNG image. Open the image with the default viewer to see the result. Happy coding!

A HashSet<T> in C# is a collection that stores unique elements with fast lookups. It supports set operations like union, intersection, and difference while offering better performance than List<T> for searches.

Expressions in C# allow dynamic query generation, runtime compilation, and code transformation using Expression Trees. They are widely used in LINQ, ORM frameworks like Entity Framework, and reflection to optimize performance and enable flexible, data-driven logic.

Refactoring in C# enhances code readability, maintainability, and performance by eliminating redundancy, utilizing LINQ, extracting methods, applying null-coalescing operators, and implementing async/await patterns.

In C#, the yield keyword is used to create iterators that return values one at a time without generating a full collection. It enables lazy evaluation, meaning elements are only computed when requested. This can lead to better performance and lower memory usage.

With the release of C# 12, Primary Constructors were introduced to simplify class and struct initialization. This feature allows parameters to be declared directly in the class or struct definition, eliminating the need for boilerplate code and improving readability.

In C# LINQ, Select transforms each element of a collection individually, maintaining the original structure, while SelectMany flattens nested collections into a single sequence, combining all sub-elements.

Learn how to write, run, and structure unit tests effectively with real-world examples, improving code quality and maintainability in .NET applications.

With Artificial Intelligence in C# 14, developers can generate, refactor, and debug code more efficiently. Ziggy Rafiq examines how these tools can improve code quality and maintainability.

Learn how to use in, ref, and out parameter modifiers in C# with practical examples. Understand their differences, use cases, and best practices for passing arguments efficiently.

Learn the best way to upload and download files from a network drive or shared storage using an MVC application in C#.

Learn about new syntax enhancements, performance improvements, and key language updates in this in-depth article by Ziggy Rafiq.

In .NET, collections like IEnumerable, ICollection, IList, and List help manage data efficiently. IEnumerable allows iteration, ICollection supports modifications, IList enables indexing, and List provides dynamic resizing and advanced methods.

C# 14, supported on .NET 10, introduces features like field-backed properties, implicit span conversions, and enhanced lambda expressions, simplifying code and boosting performance. Developers can download the .NET 10 SDK from the official .NET downloads page or through Visual Studio 2022.
Everything on C#, not only its articles: the C# page →
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterMembers onlyWrite an article and earn +1,000 SHARP when it is approved.
Write an article