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, we will learn about Generic Extension method to map objects from one type to another.

In this article we are discussing how to use the File.OpenWrite method in C#.

This article explains how to position a caret in text using code.

This article is mainly focused on the process of multithread debugging.Debugging multithreaded programs in C# can be challenging because multiple threads can run concurrently, making it difficult to predict the order of execution and identify potential issues. However, there are several techniques and tools you can use to effectively debug multithreaded programs in C#

Using a list element as an array by converting the list into an array and array into a list; also, how to find the maximum and minimum element in the list.

TraceListener classes in C# are a part of the System.Diagnostics namespace and are used to capture and route diagnostic information (traces) generated by an application. These classes are essential for logging and monitoring the behavior of your application, especially during debugging or troubleshooting. Here's a description of TraceListener classes and their usage.

A simple step by step tutorial shows you how to connect to a text file using ADO.NET and C#..

In C#, garbage collection is a memory management process where the runtime environment automatically identifies and reclaims memory that is no longer in use by the program. It helps prevent memory leaks and ensures efficient memory utilization by tracking and deallocating objects that are no longer reachable or referenced by the program. The .NET runtime provides an automatic garbage collector that runs in the background, making it easier for developers to work with memory without having to explicitly free memory resources like in languages with manual memory management, such as C and C++. This automated process helps improve code safety and reduces the risk of memory-related errors.

In this article, learn how to generate random numbers in C# using the Random class.

In this article you will get a beginners guide for Expression Trees in C#.

In this article you will learn how to get Drive information in C# by using driveinfo class.

In this article, we will see how to create a custom extension method to compare 2 lists in C#.

In my this article I present a way to easily understand Abstract Types, Interfaces and their difference with Overriding and Hiding.

SynchronizationContext is a class in .NET that provides a way to post and execute code on a specific context, typically associated with a UI thread or a specific synchronization context. It's commonly used in multi-threaded applications, such as GUI applications, to marshal work from a background thread back to the UI thread for safe execution. Here's how you can use SynchronizationContext to post messages.

Compare abstract classes and interfaces in C#, including inheritance, fields, member implementations, access modifiers, and practical code examples.

In C#, the ref and out keywords are used as parameter modifiers in method signatures to indicate how method arguments should be treated. They are often used when you need to pass arguments to a method and potentially receive modified values or multiple values back from the method. Here's a description of these keywords and their usage.

The Adapter Design Pattern is a structural design pattern that allows objects with incompatible interfaces to work together. It acts as a bridge between two incompatible interfaces, making them compatible without changing their source code. This pattern is commonly used when integrating new features or third-party components into an existing system.

Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.

In this article, I have explained how to compress images by reducing the quality of images using C#.An "Image Compressor Using Windows Forms With C#" application provides a user-friendly way to compress images, making them more suitable for web usage, sharing, or storage. It serves as a tool for individuals or businesses who frequently work with images and need to optimize them for various purposes.

This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.

Compares C# with C++, Java, Delphi, and Visual Basic, covering syntax, object-oriented features, CLR, interoperability, and key differences for C++ developers.

In this article, we will have a look at data type suffixes in C#.In C#, data type suffixes are used to explicitly specify the data type of a numeric literal when it might otherwise be ambiguous or to indicate a specific data type for a literal. Suffixes are appended to numeric literals to indicate whether the literal should be treated as an int, long, float, or double, among other numeric data types. Here are some commonly used data type suffixes in C#

This article explores the fundamental pillars of Object-Oriented Programming (OOP): Encapsulation, Abstraction, Polymorphism, and Inheritance. It provides detailed explanations and real-world examples to enhance your understanding of these critical concepts, making it a valuable resource for developers and interview preparation.

Create a Windows shared folder in C# by using ManagementClass and the WMI Win32_Share Create method.

Learn how to retrieve Motherboard serial number and other related information via Windows Management Instrumentation (WMI) in .NET.

In this article, I will explain how to get all time zones and their details on a local machine using C#.

In this article, I will explain how to perform various time zone related operations using TimeZoneInfo class in C#.

Learn how to define and use local functions in C# 7.0, including parameters, access to enclosing variables, and use within methods and constructors.

Write unit tests before starting development. Writing test allows me to see immediate results of every code change.

In this article we will see how to print a list of all the running processes on a machine using C#.
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