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.
The Dynamic Language Runtime (DLR) in C# enhances flexibility by enabling dynamic typing and execution of code. It fosters interoperability with languages like Python and JavaScript, promoting versatile application development within .NET.

C# leverages async and await keywords for asynchronous programming, crucial for I/O tasks. Defined with an async modifier, methods return Task or Task<T>. TAP enhances responsiveness, allowing concurrent operations.

Learn how C# 9.0 target typing simplifies conditional expressions with compatible return types and enables target-typed new expressions.

In this article, you will learn about Init-Only Properties In C# 9.0.

In this article, we explore the introduction and implementation of top-level programs in C# 9.0, a feature introduced with .NET 5.0. With the release of a .NET 5.0 release candidate, Microsoft showcased the latest features in C# 9.0.

In this article, you will learn about C# 9.0 - introduction to Top-Level Statements.

In this article, I show how Sending emails is a crucial functionality in web applications, often employed for various purposes like user account confirmation through OTP. This article delves into the process of sending emails using ASP.NET with C# on the Windows Forms of an ASP.NET web application.

This article explains case sensitivity/insensitivity of cross language interoperability in Microsoft .NET that allows compliant languages to interoperate with each other.

In this article, you will learn how to use C# for cross-platform development. Explore the power of C# programming beyond the confines of Windows and .NET in this insightful article.

In C#, you can create custom events to provide a way for classes to communicate and react to certain actions or state changes.

C# 12 has a number of new features, one of which is Primary Constructors, which offer a simplified and more concise method of constructing objects in C#.

To represent key-value pairs in XML, you typically use elements and attributes. how to represent key-value pairs in XML using C#. It covers XML file creation, interface and enum implementation, and methods for getting and setting values in an XML file. The example includes a WPF application for interaction.

In C# programming, null handling is a critical consideration for robust and error-resistant code. This brief guide introduces two powerful operators, the null-conditional operator (?.) and the null-coalescing operator (??), designed to streamline null-related challenges.

Optimize the performance of your C# Entity Framework application with these strategic best practices. From lazy loading and eager loading to caching and database tuning, ensure efficient data access.

Explore the Adapter Pattern in C#, a crucial design pattern for integrating incompatible interfaces. Learn its components, implementation, and benefits, making code reusability and interoperability seamless in software development.

Converting Outlook MSG to HTML in C# for Enhanced Readability" describes the process of converting Microsoft Outlook MSG files into HTML format using the C# programming language. This conversion is undertaken with the primary goal of improving the readability and accessibility of the message content.

In this article, I will demonstrate How to create an extension method in c# for List type. I will explain how we can extend the functionality of List without a new derived class. I will create extension methods for list type will help us use across project without creating new class.

Associating a specific program with a particular file type through registry configurations involves defining entries in the Windows Registry.

Two commonly used delegates in C# are the Action and Func delegates. Let's explore what they are and how to use them. Delegates in C# have some features that distinguish them from normal methods.

In C#, string concatenation can be achieved using the + operator, String.Concat method, String.Join method, or string interpolation. Choose the method that suits your coding style and project requirements.

Given an array of integers and target number ‘target sum' then print all pairs and their count in the array whose sum is equal to ‘target sum’. Examples : Input : arr[] = {3, 5, 7, 1, 5, 9}, target = 10 Output : (3,7) (5,5) (1, 9) Count: 3

In this article, you will learn about What is Short Keyword in C#

Navigate the decision-making landscape in C# with clarity. Delve into the distinctions between if-else and switch statements, understanding their pros, cons, and optimal use cases for efficient code.

Unlock the power of concurrency in C# with a deep dive into concurrent collections. From ConcurrentDictionary for thread-safe dictionaries to BlockingCollection for versatile blocking operations, master efficient and safe multi-threaded programming.

Understanding the nuances of function behavior in C# is vital for crafting well-structured and efficient code. Whether dealing with functions that involve no arguments, no return values, or exploring the versatility of function overloading, developers can leverage these concepts to create modular, readable, and adaptable code.

Delegates play a pivotal role in C# programming, offering the ability to pass methods as parameters, store them as variables, and create custom events and callbacks. Among these, two special types of delegates—Action and Func—stand out for their ability to simplify code, enhancing readability and maintainability.

Explore the SOLID principles in C# programming for maintainable, scalable, and adaptable code. Dive into Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion with practical examples.

Welcome, fellow programmers! Here, we will dive into the world of classes and objects. Classes and objects are fundamental in programming. This post unravels the essence of classes, abstract data types, and the concept of objects.

In this article, we will learn about ThreadPool in C# for efficient parallel programming. Learn its benefits, working mechanism, and how it compares to manual thread creation. Utilize the ThreadPool class for optimized resource management and scalability in your .NET applications.
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