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.
We have been hearing the announcement from Microsoft right from PDC2000 that they have realsed new languages viz. C#, VB.NET and JScript.NET.This artice of mine is going to introduce to u JScript.NET.

Today, I will explain the concept of Static class and Static class Members in C# with some examples and how we can use it in a Static class .

This article is describing C# NEXT feature status and demonstrating with examples.

C# Optional parameters allows us to define methods with optional arguments that are not required to pass by the caller. Learn how to pass optional parameters in C#.

How to compute SHA256 Hash in C#. Hashing (also known as hash functions) in cryptography is a process of mapping a binary string of an arbitrary length to a small binary string of a fixed length, known as a hash value, a hash code, or a hash. Hash functions are a common way to protect secure sensitive data such as passwords and digital signatures. Some of the modern commonly-used hash functions are MD5, RIPEMD160, SHA1, SHA256, SHA384, and SHA512.

C# does not allow overriding the Finalize method. Let's see how to do that.In C#, the Finalize method is used for cleaning up unmanaged resources before an object is destroyed by the garbage collector. It is a method provided by the base class Object. You can override the Finalize method in your own class to provide custom cleanup logic for unmanaged resources when an object is garbage collected.

This article shows you all the difference between reference and value type variables.

To put it in a simple manner, Extension Methods have been introduced in the .NET 3.5 framework to add methods to a class without altering the code of that class.

In this article you will learn about Constructor Chaining in C# language.

In this article, I am going to explain to you how to implement constructor chaining in C# Programing. This is one of the most common questions asked in C#.Net interview.

C# offers powerful tools for managing asynchronous operations, two of which are Task.WaitAll and Task.WhenAll. In this article, we'll delve into the concepts behind these methods and explore practical examples to illustrate their usage.

Top-level statements are a new feature introduced in C# 9 that allows you to write code directly at the root of a file, without having to wrap it in a class or a method.

Polynomials are mathematical expressions consisting of variables (or indeterminates) and coefficients, involving only the operations of addition, subtraction, multiplication, and non-negative integer exponents. They are fundamental in algebra and have a wide range of applications in various fields such as physics, engineering, and computer science. Polynomials are often used to model real-world phenomena and are essential in solving equations and analyzing mathematical relationships.

In this article, you learn how to use the Index type in C#. The Index type is used to index collections and arrays. It provides a way to specify indices relative to the end of a collection, making it easier to work with data structures, especially when you want to access elements from the end without having to calculate the exact index manually.

Learn how to get a portion of a string array in C#.In C#, you can extract a portion of a string array using array slicing or LINQ. Here are examples of both methods.

Learn how covariance and contravariance let C# delegates use derived return types and base parameter types, with simple code examples.

How to Create Encrypted AES Files and Decrypt AES Encrypted Files in C#

In this article you will learn about Serialize and Deserialize using SoapFormatter Class in C#.

The "is" and the "as" operators of C# are used to compare types. This code example shows how to use the is and as operators in the C# to avoid type mismatch exceptions or other type exceptions.

This article provides the sImplest way to learn Object Oriented Programming.

Here, we will see how to measure depth of inheritance and class coupling in the Visual Studio environment.

Recently in my current project I came across a problem where I need to generate a customer invoice where I needed to convert total amount into its verbal representation

This article explains how to create your first C# program.My First C# Program" is a simple introductory program often created by beginners learning the C# programming language. It serves as a basic demonstration of how to write, compile, and execute a C# program. The program typically outputs a message, such as "Hello, World!", to the console. This exercise helps beginners understand the basic structure of a C# program and how to use the Console.WriteLine() method to display text.

In this article you will learn about Polymorphism and types of polymorphism.Polymorphism is one of the fundamental principles in object-oriented programming (OOP). It allows objects of different classes to be treated as objects of a common superclass. There are two types of polymorphism: compile-time (or static) polymorphism and runtime (or dynamic) polymorphism.

In C#, ArraySegment is a struct that represents a segment of an array. It provides a wrapper around an array and a range of indices, allowing you to work with a subset of the array without creating a new array. This can be particularly useful for optimizing memory usage and improving performance when dealing with large datasets.

In this article, we will create a remote object that will return rows from a database table. For the sake of simplicity I have used the NorthWind database that is packed with the installation of the Microsoft SQL Server.

This article attempts to explain the how MSMQ can be implemented between two forms and the very basics of message queuing.

If you are writing .Net classes, which will be used by other .Net classes irrespective of the language they are implemented, then your code should conform to the CLS [Common Language Specification].

In this article, you will learn what C# unit test is and how to write unit tests in C#.

Parallelism solves many problems in the computing world if done in the right way; parallelism is not good if the task is small and needs synchronization of resources, such a scenario would hurt performance.
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