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.

There has always been confusion among developers when to use which collection. Sometimes, we don’t know about all the available collections and their purpose and consequently, use them incorrectly and end up with performance issues.

This article tells when one should go for Windows authentication & when one should go for Forms-based authentication

In this article you will learn about QUEUE in C#. Queue is FIFO (First In First Out) collection type & Generic class. Queue collection classes automatically size as required.

In this post, we will see automatic JS and CSS versioning to update the browser cache whenever the files are changed on the server.

In this piece of content, we will learn about delegates in C# programming. Delegate is one of the most common and the most useful concepts and every developer must have the basic knowledge of delegate.

Many atricles describes about doPostBack. But here I am trying to say some real practical ways to use it and also mentioned some precautions waant to take before use it. Believe me this article derived from my practical experience and will continue only such items from my side, as only those thing will help a developer.

This article demonstrates different scenarios of using Tuple Class in C#.

Sending SMS Using TheTexting SMS Gateway With C#. Providing a quick and interesting way to send SMS using a simple C# application.

Overview Of List Collection Class In C#. List<T> class represents a strongly typed list of objects that can be accessed by index. List<T > is one of the generic collection classes; it is present in System.Collections.Generic namespace.

Overview Of C# Attributes. Attributes have been in C# for quite some time, and are used for adding metadata in programming elements like assemblies, types, classes, methods, and properties.

I have written a new .NET library named as ORMi to communicate to WMI (Windows Management Instrumentation). In this article, let's get an overview of ORMi.

I’m building a library to identify audio encodings used in a byte stream and there’s a lot of look-up tables required to determine bit rates, sample sizes, and so on. So, I decided to build a little extension to System.Collections.Generic that creates a multi-dimensional Dictionary collection that allows for strongly typed row/column keys and data values accessing data by a multi-parameter indexer function.

This write-up explains how we can implement multiple interfaces in C# using the same method signature. Also, we will cover how this can be helpful in implementing the SOLID principles.

In this article you will see use of Enum data type in C#. convert enum to String, convert String to enum.

C# 8, C#, C# 8.0. The four key features added to C# 8 are nullable reference types, async streams, default interface implementations, and extension everything.

How to compare two tuples in C#. Tuple comparison is available in C# 7.3 or later versions and can be done by using equality == and != operators.

Here I will explain what Exception Handling is all about in C#. Exception handling doesn't provide a solution to the error. Exceptional handling should not be used for every runtime error that occurs in the program.

The Exception class is present in the System namespace and in the assembly mscorlib.dll.In this article we'll focus on properties of the Exception class that we can use in the application for exception handling.

In this article, I discuss what Exception Handlers are in C# and how to trap errors using try/catch blocks and their behavior when we use multiple catch statements to handle errors and finaly, how to create User-Defined exceptions.

Code example hows how to convert string into int in C#. Also use and difference between Int.Parse, Convert.ToInt32, and int.TryParse in C# and .NET.

This article rovides a brief introduction to recursion; its definition, pros, cons and a practical example.

This article assumes a working knowledge of ADO.NET, and examines it and its influence on the middle tier. It introduces a fictitious business model and lists some requirements to help us focus on the middle tier. It also introduces a new mechanism called SQLData, which combines both the ADO.NET DataSet and the ADO.NET DataReader into a single mechanism. The SQLData struct is used as the basis for developing a middle tier.

This article explains what you need to install on your machine to run C# and where to find the downloads.

This article explains how to create your class, add some functions and call it from Main function.

Learn how to use the C# typeof operator and GetType() method to obtain System.Type information for types, objects, and classes.

Implement binary search in C# using Array class. How to use Array.BinarySearch() method on an array to find an item in the array.

Generate a unique number using random class and display it on the console. This program generates Unique Random Numbers and displays on the console.

An indexer is a member that enables an object to be indexed in the same way as an array.

In this article I will explain you about expression and operator in C#.

This article explains how to convert a number into words using recursion. I am posting this article to help the developers in the situation where they need to convert an amount into words for reporting purposes and make data more informative.
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