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, I will learn about and use the new features in C# 2.0 added by the Microsoft designers, such as generics, anonymous methods, partial types, static classes, nullable types, and limiting access to properties.

Learn how to create C# IEnumerable extension methods that retrieve the previous item, next item, and index of a current item in a collection.

Learn how to create, customize, and import C# code snippets in Visual Studio to generate class, method, copyright, and exception-handling templates quickly.

When a new technology emerges, companies and developers begin to wait anxiously for answers to their questions.

In this article I want to show how to associate your application with a file type, so that when you double-click a file of that type (suffix) your application will be called with that file.

I would like to begin to determine what SOA (service-oriented architecture) is technically meaning. We can clearly say SOA is a methodology for designing software architectures to utilize and organize distributed systems using loosely coupled software services.

This blog will help you with a small sample. You can restrict multiple button submission by using method ClientScript.GetPostBackEventReference.

Here you will see how to create and use a C# Web Application over HTTPS - SSL.

The designers of C#2 have added the concept of nullable types to deal with a weakness of value types versus reference types. It is then essential to have properly assimilated these two notions.

We will see that C# allows suspending the verification of code by the CLR to allow developers to directly access memory using pointers.

This article is on a single Instance control component which checks whether any instance of your application is running on the System.

One of the rich experiences in working with .NET is a huge collection of Base Class Libraries .

In this article, we will explore recursive functions and how to use them in your applications.

This article explains difference between using directive and using statement with sample example.

This article contains C# language changes from Beta 1 to Beta 2.

Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.

This article is aimed at introducing the novice .NET developer to the basic usage of System.Diagnostics services included in the .NET BCL.

The code uses the feature of Operator Overloading in C#. It shows how different operators are overloaded and can be used in a easy manner.

This article explains about the major difference between struct and classes.

Learn how System.Buffer.ByteLength and Buffer.BlockCopy differ from Array.Copy when copying data between C# arrays using byte offsets.

In this article I explain how to bind the GridView with the System.Collection.Generic.List, and also the join operation of the list.

Creating a screen saver is an interesting topic. A screen saver is a maximized form that contains no borders and caption.

The first in a three part series, this article introduces the basic concepts of floating-point arithmetic: number formats, accuracy and precision, and round-off error.

In this article you will learn how to use integral data types in C#.

Microsoft provides several attributes for marshaling C to C#. In our example we will take the case where we have hundreds of structures and only a few API calls, so we only need to generate the marshaled code for the structures.

Learn how to create and use C# anonymous types in an ASP.NET Web Forms example that performs basic arithmetic operations.

Today, in this article let’s play around with one of the interesting and most useful concepts in C#.

The code snippet in this article shows how to use the Dictionary class in C#.

Exclude weekends and holidays from a date duration.
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