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 I will explain how to use a numeric format specifier in C#.

In this article I will explain abstract class and abstract methods. An abstract class in C# is a class that is declared abstract. It cannot be instantiated on its own; rather, it is meant to serve as a base class for other classes. An abstract method is a method in an abstract class that is declared without any implementation. It is meant to be implemented by derived classes.

In this article you will learn how to convert Visual FoxPro DBF file to Excel in C#.

C# Partial Class. Partial classes were introduced in C# 2. A C# Partial class can reside in multiple cs files with the same name. C# partial classes code examples.

I would like to share multiple ways to bind a DataGridView to a Window Forms form using C#.

Learn to use the Twilio WhatsApp Sandbox from a C# .NET Core console app to send text messages and media files to WhatsApp numbers.

Download source code on how to serialize and deserialize JSON data in C#.

This comprehensive guide delves into the fundamental concepts of C# data types, distinguishing between value types and reference types. Covering characteristics, pros and cons, key differences, and best practices, it offers insightful recommendations for optimal programming.

In this article, you will learn about JSON serialization and deserialization in C#. We can implement JSON Serialization/Deserialization by using JavaScriptSerializer class, DataContractJsonSerializer class, JSON.NET library.

In this article we will see steps to create and use a class library in ASP.NET/Visual Studio.

When working with databases, populating them with substantial amounts of data for testing or demonstration purposes is crucial. The Bogus package in C# provides a convenient way to generate fake data, making it an excellent choice for creating large sets of dummy records. This guide will walk you through inserting 1 million dummy product records into a SQL Server database using Bogus.

This article explains about Web API action results and explanation of REST result.

The Bulkhead Pattern in software architecture, inspired by ship bulkheads, involves segregating resources to contain failures and enhance system stability. In C#, it can be implemented for scenarios like thread pool isolation. The provided example uses SemaphoreSlim to limit concurrent service calls, preventing widespread issues if an external service fails.

The article explains a major difference between dispose and finalize methods.

This article provides a comprehensive overview of using CancellationToken and CancellationTokenSource in C# for managing asynchronous operations. It covers key components, usage, handling, and best practices effectively.

Your article is detailed and well-structured, providing a clear explanation of implementing design patterns using generic delegates.

This article on tuples in C# is well-structured, providing a clear and detailed explanation of the topic. It covers the basics, named tuples, returning multiple values from a method, tuple deconstruction, and more.

Simple generic and class to save and load settings to and from a json file. Your implementation of the MySettings class is a neat and effective way to handle saving and loading settings in a Windows Forms application. It encapsulates the complexities of dealing with different control types and provides a clean interface for usage.

Let's know the difference between Overriding and Overloading methods with example.

This article explains about Interface Segregation Principle (ISP), and its application in C# is clear and well-illustrated through the example of a shape drawing application. Breaking down a generic IShape interface into more specific interfaces like IDrawableShape, IResizableShape, and IRotatableShape aligns well with the principles of ISP, leading to a more modular and maintainable codebase.

The article you provided gives a comprehensive overview of the concepts of concurrency and parallelism and their relevance in C# programming. It highlights the distinctions between the two concepts and provides clear examples and use cases for each. The discussion of best practices and considerations for managing concurrency and parallelism effectively is a valuable addition, as it helps developers avoid common pitfalls and make informed decisions when implementing these concepts in their applications.

In this article we will learn how to load the user-control onto the page dynamically.

In this article I will explain you about BufferedStream, MemoryStream and CharacterStream Class in C#.

A lot of time you get a requirement to return different kind of object from a single method. Is it possible? Yes there are ways by which you can deliver different objects on run time and dynamic is one of those solution.

This article describes how to handle the worksheet change event using VBA. The Visual Basic Editor is a program within Excel that allows you to communicate with Excel.

In this article, we have covered the topic about access modifiers in C# and how many types of access modifiers in C#.

The provided example for using IOptions<T> and IOptionsSnapshot<T> illustrates their usage within the ConfigureServices method and in a service or controller, giving readers a practical understanding of how these interfaces can be integrated into their own applications.

Explains C# params arrays and IEnumerable, including how a params array can accept multiple enumerable sequences for iteration.

In C#8 switch statement enhanced with powerful feature that can simplyfy your code and make it more readable and maintainable. In this article We will explore into C# 8 switch expression and how to use in our code and make it more readable and how to use in different way to write conditional logic and how to leverage pattern matching functionality using switch.

This article will explain the different types of comments in C# and why should we use comments.
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