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.

Encapsulation is one of the key properties of an object-oriented programming language. In this article, you'll learn the basics of Encapsulation in C#.

C# is a programming language developed by Microsoft. C# is used to build Windows desktops, web applications, and mobile apps.

Here is an example of programs in C# that demonstrates the events with and without delegates.

In this article, we will discuss how to convert Excel data to Datatable using ExcelPackage in C#.

C# sealed classes. The sealed keyword in C# language is used to create a sealed class. Sealed classes restricts classes to extend or inherit a class. The code examples of sealed classes in this article demonstrate use of sealed classes in C# and .NET.

In this article we will learn about various types of classes in C#.

In this article, we will understand different types of classes in c#. There are four different types of classes in c#.

The foreach statement in C# iterates through a collection of items. This article contains several foreach loop code examples in C#.

Learn when to use a class, record, or struct in C#.

Learn how to receive and monitor IMAP email in C#/.NET using MailKit, configuration settings, async APIs, and MailKitSimplified.Receiver.

In this article, you will learn about calling multiple APIs using HttpClient and Polly.

This article shows you how to connect to a MySQL database using the MySQL Connector for .NET. I will also show you how to update MySQL database records using C#.

Learn how to send emails in C# using SMTP from a SQL Server database.

This articles explores the Static Abstract Interface Members in C# 11, along with understanding the Curiously Recurring Template Pattern

This article uses .Net 7 Preview 1 and Visual Studio 17.1 to explore C# 11 features.

In this article, we will see how to convert HTML strings to PDF by using a third party PDF generation library.

In this article, you will learn about Events and Delegates in Class Library and Worker Service.


In this article, we gonna discuss the new feature String interpolated new line in C# 11 with examples. C# programming language was launched in 2000 and now it is at its version 11.

In this article, you will learn about UTF-8 string literals in C# 11.

Learn how C# 11 auto-defaults uninitialized struct fields in constructors and how this changes parameterless and parameterized struct initialization.

In this article, you will learn how to forward or reply to emails with only one line of code.

In this article, you will learn about Process flow for creating a Schedule or Time Table for Educational Institution.

In this tutorial, we provide an example of how to create a simple proxy server in a C# application using the HttpListener class. We also show how to write a test case to verify that the proxy server works as expected.

In this article, you will learn about New Features in C# 11.

Here, we will create a login and sign up form in a C# Windows Form application with database connectivity.

Learn how the C# file access modifier in .NET 7 limits a type's visibility to a single source file and avoids naming conflicts.

In this article, you will learn about simple app building for beginners in C#.

Microsoft patterns & practices provide scenario-specific recommendations illustrating how to design, develop, deploy, and operate architecturally sound applications for the Microsoft .NET platform.The following article covers details on the Data Access Application Block.

In this article we will have a deep-dive discussion about C# short-circuit evaluation.
Everything on C#, not only its articles: the C# page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article