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.

Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.

This article is about understanding the working concept of destructor in C#. As you read this article you will understand how different is C# destructor are when compared to C++ destructors.

One of the most interesting number in mathematics is the Neper's number : e.

So let me present the example where we can use Reflection and Reflection.Emit to do something interesting.

Back in my dark days of Procedural Programming, I remember someone giving me a problem, then banging out a few (hundred) lines of code, achieving my goal, and going on with my life. The next time a similar problem would arise, I’d rewrite, or in some cases, cut & paste my old code to achieve a similar, yet slightly different outcome.

In the .NET framework many classes implement interfaces non-virtually. Presumably this is because it does not make any sense for those methods to be overridden.

Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.

Function points are a unit measure for software much like an hour is to measuring time, miles are to measuring distance or Celsius is to measuring temperature.

In a two part series I will explain new features introduces in C# language version 2.0. In this article I will talk about generics.

In this article I will talk about iterators, anonymous methods, and partial classes.

This sample shows to write a windows application that gives you the - C# - method throw a simple 4 steps.

Structures in C# are similar to structures in C and C++ but with several prominent differences. In C#, structures are value types.

Static classes are used when a class provides functionality that is not specific to any unique instance.

This article provides the use of Generics and scenarios in which it will be useful.

C# 2.0 allows you to assign null values to primitive types including boolean and integer, which wasn't possible in previous version of C#.

Delegate is type which holds the method(s) reference in an object. It is also reffered as a type safe function pointers.

The fundamental concept behind both COM and DCOM is the interface. An interface is an agreement between a client and an object about how they will communicate with each other.

The attached source code projects shows how to configure and invoke dynamic delegates using Reflection.

This article describes how to deal with recruiters in Manhattan, and gives some tips on negotiating for rates and salaries.

The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
Everything on C#, not only its articles: the C# page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article