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.

Compilation And Runtime Of C#/ .NET Program. C# is one of the languages belonging to .NET family. .NET languages have common creation and execution of their assemblies within CLR (Common Language Runtime).

C# 7.0 New Features. C# 7.0 has some good features like Declaring Out Variable inside TryParse, Creating a function inside a function (local functions), More readability in declaring complex numbers and Binary literals, Return a reference of a variable from a function and modify the referenced variable, and Simplified Tuple

Extension Methods allows the programmer to extend the functionality of a type without having to derive from the type.

The ArrayList class provides a number of properties and methods that are used to work with an ArrayList. Here we see how to BinarySearch, Sort, and Reverse an ArrayList in C#.

In this article I will explain you about Sorting, Reversing, and Searching in Arrays in C#.

In this article, you will learn about working with New Value Tuple Data Structure in C# 7.0.

Microsoft provides us SNMP.EXE and SNMPTRAP.EXE services to listen SNMP (Simple Network Management Protocol) traps. Using these service we can listen to SNMP traps but due to security is a concern, these services failed to listen to SNMPv3 traps which are mainly developed for security reasons.

This article describes filling a Data class using a generic method. Reflection is used to find property of any passed class dynamically and assign the value.

This article explains Abstract Classes in C#. Abstract Class is a type of class for which we cannot create an instance of the class.

Caller Information attributes are newly introduced in Framework 4.0. There are three attributes which are more helpful in tracing, debugging and diagnosis the application.

This article explains the new keyword in C#. new keyword can used as an operator, a modifier. OR a constraint.

This article is about passing a reference type (like an array) to a method.

In this tutorial, we will learn how to configure xUnit.net in Visual Studio 2017 class library project.

Learn five ways to launch and control Command Prompt from C#, including visible and hidden windows, interactive commands, multiple commands, and standard output capture.

This article describes the Decorator Pattern. The Decorator Pattern provides a flexible alternative to sub classing for extending functionality dynamically.

This article explains extension methods of C#. The extension method is a modified version/slightly changed version of a static method.

In this article, I will show a few ADO.NET tips to improve performance. A connection object is one of the most resource consuming objects in ADO.NET. So we need to manage this object very carefully.

Compare memory use in C# code, including StringBuilder versus string concatenation, static methods, and formatted output.

Dear reader, in this article I provide a few best practices in C# programming.

Compares several C# coding techniques for strings, type casting, and loops, using simple Stopwatch benchmarks to discuss their performance.

This blog explains the improvement for ref returns and out variable in C# 7.0.

Learn how to use C# 7.0 pattern matching with is expressions and switch statements, including type patterns, when clauses, default cases, and null handling.

In this article, we will discuss how to add a custom validator for any model in C#.

This articles describes about what is delegate, what are the different ways to define and declare delegates, when to use delegates, what is event and how events and delegates are associated or related with each other

In this article, we will learn about CLR database procedures in C#. Let’s discuss CLR database stored procedure.

In this article, we will learn about CLR database procedures in C#. Let’s discuss CLR database stored procedure.

In this article, we will learn about CLR database user-defined scalar and table-valued function in C#

As developers we learn that giving meaningful names to methods produces clean, readable and maintainable code. However, that’s not all we should be concerned about when it comes to method signatures. There are two other aspects of a method signature that must be given consideration when writing code: a) parameters b) return value.

In this article, we are all going to see File handling with C-sharp.

An enum is a special value type that lets you specify a group of named numeric constants. They can help make code more readable, as opposed to using int to represent constants or flags.
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