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.

Explains defensive copies in C# 11 when structs are passed with in, ref, and value parameters, including how readonly structs affect compiler behavior.

In this article, we will learn about C# inheritance and types of inheritance in C# and .NET.

This tutorial explains how to create a Windows Service in C#. You will also learn how to configure and start a Windows Service in .NET.


Beginner’s tutorial on Value Object (VO) Patten and Data Transfer Object (DTO) Pattern with examples

Beginner’s tutorial on Immutable Object Pattern with examples. An Immutable Object (Internal Immutability) in C# is an object whose internal state cannot be changed after it is created. That is different from an ordinary object (Mutable Object).

The Random.Next() method returns a random number in C#. The code examples show how to generate a random string and random number in C#.

This article will help you to understand what are the real differences between reference and value types and how reference types behave under the hood

This article explains the various ways to use the using keyword in C# and what its benefits are.

C# using statement makes sure that the allocated objects within the using statement is disposed once the using block code is executed.

Delegate in C# is a type that allows methods to be passed as parameters. Learn how to work and implement delegates in your C# app to define callback methods and return parameters.

Learn XML serialization in practice. In the second part of our article, we will get acquainted with XML serialization and look at the use of the Central Bank's XML service in real practice.

Static in c# is used to create a static class, struct, or member. A static class can only contain static data members, including static methods, static constructors, and static properties.

The static modifier in C# declares a static member of a class. The static modifier can be used with classes, properties, methods, fields, operators, events, and constructors, but it cannot be used with indexers, finalizers, or types other than classes.

Learn what is static in C# and how to create static methods and fields in a C# class.

This article will help you to understand serialization and deserialization and use Binary serialization in practice

A C# nullable type is a data type that contains the defined data type or the value of null. This article explains the use of C# Nullable Types.

In this article, I am going to explain var, dynamic, and object keywords in detail.

This article is the very first of the "Back to Basics" playlist, its goal is to bring the basic knowledge to start developing with the C# language. Whether you are an experienced developer of another language such as Rust, C++, or you are a beginner looking to design applications with dotnet technologies, or even games with Unity.

In this article, you will learn what are the differences between singleton vs static classes in c#?

In this article, you will learn how to sort a Dictionary with C#?

Learn how the C# yield keyword returns sequence elements during iteration, preserves iterator state, and filters a collection without a temporary list.


This article and code example show how to implement abstraction in C#. An abstract base class in C# cannot be instantiated; it means the object of that class cannot be created.

In this article, we will learn how to write code for Classes and Objects, Constructors and Destructors, Function Overloading, Encapsulation, Inheritance, Interface, and Polymorphism in C# and .NET.

Learn the difference between objects and classes in C# and the relationship between a class and an object.

This tutorial helps you understand events in C# and how to implement events in your C# .NET app.

Events provide a way to implement actions in an application. This article teaches you how to implement events in C# and .NET.

This article explains the various behaviors of inheritance in C# and .NET.

In this article, let's see how to implement Inheritance with code examples in C# and .NET.
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