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.
Explore the power and versatility of C# List collections with this comprehensive guide. From basic operations to advanced techniques, learn how to harness the full potential of lists for effective data manipulation. Whether you're a beginner looking to master the essentials or an experienced developer seeking to level up your C# skills, this guide provides a step-by-step journey through list collections, making complex data management accessible and efficient.

Object-Oriented Programming (OOP) in C# is a way to organize code neatly. There are two types of classes: static and singleton. Static classes have functions that you can use without creating an object. They're great for simple tasks, but can cause issues if used too much. Singleton classes ensure there's only one instance of a class. They're useful for managing shared resources. Both have pros and cons. Static classes are simple and fast, but may create problems with too much shared data. Singleton classes are good for controlling resources but are more complex. Choose the one that fits your project's needs.

In this article, I am sharing a generic method I have developed while solving a question here on C# Corner.

Learn how to serialize and deserialize C# objects to files using FileStream and BinaryFormatter in a Windows Forms pending-bill example.

This article shows how to override the ToString() method in C#.

In this article you will learn about Object Vs var Vs Dynamic type in C#.

Learn how C# polymorphism enables late binding through virtual methods and method overriding, with an explanation of how derived classes provide specialized behavior.

In this article, we will learn constant and readonly in c#. Here we will discuss the differences. In C#, both const and readonly are used for defining values that cannot be modified after they are assigned. However, there are important differences between the two.

In this article we will create a small utility using C# that tells us whether our API server is up or down.

In this article you can learn various image operations using a Word document in C# programming.

I was recently working on a 2.0 Framework project where we had many types of related objects. However, we needed to ensure that there were not multiple instances of the same object in memory. Usually the GOF Proxy pattern is used to hide or control access to an object, but we can also use it to define relationships between objects.

Optional parameters and named arguments have been a part of C++ and VB.Net for years. They are new to C# in version 4.0.

Here is the simple and quick way to replace a text in a HTML or TEXT file.

Learn how to write a C# console program in Notepad, compile it from the Visual Studio command prompt, and run the executable.

This article gives you an idea how to create your own mp3 player in asp.net 2.0.

The if else statement in C# is one of the most commonly used selection statements. This code example shows how to use an if..else if statement in C#.

Creating a calculator in C# is a common beginner's project that can help you learn the basics of building a graphical user interface (GUI) and handling user input. Here's a simple guide on how to make a calculator in C#.

This article is an overview of Dictionary in C#. Dictionary is a generic class that belongs to the System.Collection namespace in . NET. A dictionary can store Keys and Values of any data type in .NET.

Learn about the Proxy Pattern in C#, a powerful structural design pattern. Explore its purpose, implementation, and real-world applications, enhancing software efficiency, maintainability, and scalability. Happy Learning!

Explore the power of C# multi-threading and learn to manage concurrency with lock and Monitor. Prevent synchronization issues in concurrent code effectively.

This article explains the types of properties in C# programming.Learn about the various types of properties in C# programming, including read-write properties, read-only properties, and write-only properties. Explore how to define and use properties to encapsulate data and provide controlled access to class members.

In this article you will learn about different exit methods in C#.

Learn what GUIDs are in C# and .NET, how to generate them with Guid.NewGuid(), and why creating a default Guid produces an all-zero value.

In this article, I will explain how to use the decimal format specifier in C#.Learn how to use the "D" format specifier in C# to format numerical values as decimals, control the number of digits, and ensure leading zeros when necessary. This specifier is particularly useful for formatting integers.

In this article, I will explain how to create and use a sealed class in C# with some examples. I have written this article focusing on students and beginners.

C# ref and C# out keywords are used in method parameters. This article helps you decide whether to use a ref or out keyword, especially when the parameter types are value types.

This article shows how to use the Stopwatch class in your application.

Properties are accessor methods whose job is to retrieve and set the values of fields.

Exploring the Decorator Pattern in C#.the Decorator Pattern stands out as a versatile tool for extending the functionality of classes without altering their structure. In this article, we will delve into the Decorator Pattern and how it can be implemented in C#.

In this article, I will discuss about C# Reflection with a 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