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.
Iterator is one of the new feature in C# 2.0. I am trying to explain it with Employees and Department classses.

Understand what is type Inference in C# and how to implement it in your code.

Explore the Flyweight Design Pattern in C#, a memory-efficient structural pattern. Learn to optimize performance by sharing common properties among objects, improving application efficiency.

Demystifying the Adapter Pattern in C#: Bridging the Gap Between Incompatible Interfaces

In the world of software development, Data Transfer Objects (DTOs) are vital for efficient data communication and manipulation. This article explains DTOs in C#, their importance, and practical usage.

In this article we will learn how to implement Dependency Injection using Property Injection.

In this article, you will learn about creating and managing digital certificates In C#.

This article shows you the procedure to create a directory, adding a specific Group or the User Name account for that directory and providing the required permission for the same.

Enhance error handling in C# with custom exceptions. Learn how they provide specificity, control, documentation, and maintainability, and follow best practices for effective implementation.

Are you somewhat confused between Serialization and Marshaling? This writing would break this confusion up, it would give you a basic understanding of the process of Serialization and the process of Marshaling, and how you can get the most out of each.

In this article you will learn about IEnumerable and ICollection in the C# language.

Learn the differences between fields and properties in C#, including direct data storage, controlled access, encapsulation, getters, setters, and validation logic.

This article explains how to use implicit and explicit interface implementation in C# programming.In C#, interface implementation is a mechanism that allows a class to provide specific implementations for methods defined in an interface. There are two ways to implement an interface in C#: implicit and explicit.

The C# If-Else statement is a fundamental control structure in C# programming that allows you to create conditional logic in your code. It enables your program to make decisions based on certain conditions and execute different blocks of code accordingly. With the If-Else statement, you can specify what should happen if a condition is true and what should occur if it's false.

Here you will learn about the default scope of a C# class.

This article explains how to get the input from the console using ReadLine.

In Microsoft Word documents, bookmarks are used to mark specific locations or sections for easy reference. You can programmatically add, replace, and remove bookmarks in Word documents using C# and libraries like Spire.Doc or Microsoft's Open XML SDK. Here's an overview of how to perform these operations.

Lambda Expressions are getting good recognition among developers and it would be nice to have the next level of information regarding it.

How to use Total in TextBox in two TextBoxes in C#.

This article is trying to explain the simple and required steps that are require starting the creation of Manage Stored Procedure using C# and using them.

In this article, I am going to explain how to calculate the sum of the DataTable column in ASP.NET using C#. Here, I'll also explain what a DataTable is in C#, as well as different kinds of ways to calculate the sum of the DataTable column, like using the compute method of a DataTable as well as using LINQ.

List.BinarySearch() method searches a List of collection using binary search algorithm. The code example shows how to search a list items using C#.

In this article, we will see the basic differences between an Array and an ArrayList.

In this article we will see how to pass parameters to a function by Value and by Reference.

Reflection is a way of obtaining metadata information about the types used in applications, which helps you describing the types, modules or assemblies at runtime. This is an extremely useful feature in the strongly-typed languages like C#.

Mapping a ViewModel to a Model in C# using an implicit conversion operator is a technique used to simplify the process of transferring data between these two related classes. ViewModels are typically used in the presentation layer to represent the data that will be displayed to users, while Models represent the underlying data structure and are often used for database interactions. By using implicit conversion operators, you can streamline the mapping process and improve the maintainability of your code.

In this article, I'd like to present a similar program using the Indian numbering system. This system differs from the US/UK systems in that it doesn't use 'millions' but instead uses 'lakhs' and 'crores' to represent multiples of 100 thousand and 10 million respectively.

C# 9 Cheat Sheet with code examples and pros and cons.C# 9 introduced several new language features and enhancements, making it easier to write clean and concise code. Some key features include.

This article is about Imporanct and Use of Mock Testing. I have explained Mock Testing in a simple way, and demonstrated the use with the code example.
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