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.
This article discusses some features of ArrayLists and there shortcomings/limitations.

This article is introducing a new reference type, delegate. A delegate is a C# language element that allows programmers to reference a method for their development work.

This article explains the async main feature introduced as part of C# 7.1 and demonstrates how to use it in application development.

The objective of this article is to explain how to use a .ashx handler to access the DLL or any server on an HTML page using JSON to make the server side/DB call very fast in a simple manner.

Learn how to retrieve hardware, operating system, disk, processor, and startup information in a C# Windows Forms application using WMI.

Source code for Data Structure implemetation of Stack, Queue, Doubly linked list and more..

Learn how C# generics provide type safety, eliminate explicit casts, and reduce boxing overhead through a generic Stack example.

This article describes an introduction to Generic Class, Methods, Delegates and Interfaces in C# programming.Generics in programming, often referred to as "generic programming" or "generics," is a powerful concept that allows developers to write flexible and reusable code. It is a feature commonly found in modern programming languages, including C#, Java, C++, and more.

Now, let’s see what happens when we declare any variable like int a=10 in C#. When C# compiler will run, it will allocate a block of memory which will have name of variable i.e. a, its type i.e. int and its value i.e. 10. Now this memory can be of type Stack or Heap i.e. variable gets store in Stack or Heap.

Inheritance is a fundamental concept in object-oriented programming (OOP) and is widely used in C#. It allows you to create a new class that is based on an existing class, inheriting its attributes and behaviors. Inheritance enables code reuse and promotes a hierarchical organization of classes, making it easier to manage and extend your codebase. Here's a comprehensive overview of inheritance in C#.

In this article we will learn about the nameof operator, one of the new features of C# 6.0.

In this article, I am describing how to create a method with optional parameter in C#.

A code snippet that shows a quick way to calculate the first and last days of any month.

In this article, you will learn about some of the top important C# features that are often not very well known.

In this tutorial, learn C# ArrayList class and most commonly asked questions about C# ArrayList.

In C#, the Visitor Pattern is typically used to perform operations on an object structure composed of different types of elements, where each element may have a distinct implementation of the same operation. The pattern achieves this by separating the algorithm (the visitor) from the elements it operates on. Here's a breakdown of the key components and how they work in C#.

In C#, an interface defines a contract that classes can implement. It serves as a blueprint for a set of methods and properties that a class must provide if it claims to adhere to that interface. Interfaces allow you to define common behavior that can be shared among unrelated classes, enabling a form of multiple inheritance while avoiding some of the issues associated with traditional multiple inheritance.

This article describes an approach used to determine the time of the last system boot up and to display the time elapsed since boot up.

In this article, you will learn how to save text files with a C# example.

The hyperlink is the control to link another page. The hyperlink can navigate to “URL” as well as xaml page.

In this article I will explain how to determine the Lowest Common Multiples of two numbers in a C# console application.

In C#, when comparing complex types (objects) for equality and ordering, you have several options and methods available, each with its own purpose and behavior. Here's an overview of how to compare complex types using ==, Equals, IEquatable, and IComparable.

In this I am going to explain instance constructors that are used to create an instance of a class and explain the different types of instance constructors

In this lesson we will be creating a C# form that creates and solves a maze using a recursive technique. It will cover the creation of the maze creator using PictureBoxes and solving the maze.

In C# and .NET, "Object," "dynamic," "var," and "ExpandoObject" are different ways to work with data types, each with its own characteristics and use cases. Let's explore each of them:

Exporting an Excel file in an ASP.NET MVC application typically involves generating Excel content on the server and providing a way for the user to download it. You can use libraries like EPPlus or ClosedXML to create Excel files in C#. Here's a step-by-step guide on how to export an Excel file in MVC.NET.

This article tells us the difference between value type and reference type variables.In programming, data types are categorized as either "value types" or "reference types." These terms refer to how data is stored, managed, and manipulated in memory. Here's a description of the key differences between these two types.

C# Lambda expressions are how anonymous functions are created. Lambda expressions are anonymous functions that contain expressions or sequence of operators.

This article is about consumption of POST type REST Web API method without any API authorization using ASP.NET REST Web API platform.

A C# Interface is the definition of a class methods, properties, and its members. In this article, you'll learn what C# interfaces are and how to use C# interfaces with real world 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