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 will show how to register a system hotkey for a currently running application and how to handle window messages for altering controls functionality or adding new functions to them.


In this article I will show an example of a custom enumerator class.

In this article we will see that how we can create arrays of custom types. We can achieve it by using custom types.

Learn about C# 4.0 features including the dynamic keyword, named and optional parameters, generic covariance and contravariance, and COM interoperability improvements.

In this article, I want to share with you some difference between Struct and Classes.

In this article we will see how to create encrypted text that changes each time for the same message!

In this article I discuss 9 rules that every developer should keep in mind while working with constructors, destructors, and finalizers and class hierarchies.

In this article I would like to explain how to load an assembly dynamically and display its forms with the help of Reflection.

Learn how to use optional parameters, default values, and named parameters in C# 4.0 to reduce method overloads.


This article will teach you how to get information about some class like how many methods are there in class, how many properties are there etc..

Learn how to use System.Console in C# to set a console window's title, foreground and background colors, and size.

I create a new ActiveX control (MKGrid) to let edit Grid control become easy, I was using my ActiveX in VB6 project.

Learn how to use C# permission attributes for declarative code access security, including file, environment, registry, permission set, and strong-name demands.

Here I have given an example of how to sort an Person class on the basis of its attribute by implementing IComparable interface.

In this article I will explain you about Security Classes in .NET.

In this article I will explain you about, how to manipulate Complex numbers by using pretty much cool feature introduced in .net framework 4.0 with System.Numerics namespace.

In this article I will explain you about the .NET Framework Security Tools.

In this article I will explain you about Custom Code Access Permissions in C#.

In this article I will explain you about Permissions and Code Access Permission in C#.

Explains how the LevelFinal and Exclusive attributes affect .NET code access security policy evaluation and permission decisions for code groups.

In this article I will explain you about Application Domains in C#.

Marshaling is the process of creating a bridge between managed code and unmanaged code;

In this article I will explain you about a named permission set in C#.

Interface is a reference type it contains only abstract members.

In one of my applications, I needed Operating System version, service pack and other details. Here is the code snippet that shows how to use the Environment class to get Operating System data.

The Is operator in C# is used to check if a type of an object is compatible with the other type. If type is not compatible, you will also see C# compiler will through an error in Visual Studio IDE.

In this article I will explain you about Files and Directories in C#.

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