Sorting a Generic SortedList in Descending Order in C#

Understanding the Difference Between Delegates and Events in C#

How to Read a File using StreamReader in C#?

How to Read a File using StreamReader in C#?

This article provides a step-by-step guide on how to read a file using the StreamReader class in C#. It includes example code and emphasizes the importance of closing the StreamReader object to release system resources.

Demo & Full Guide

C# file handling StreamReader ReadLine Close method.


How to Calculate Code Execution Time in C#

How to Calculate Code Execution Time in C#

This article provides a step-by-step guide on how to calculate code execution time in C# using the Stopwatch class. It includes an example code snippet and important points to keep in mind while using the Stopwatch class.

Demo & Full Guide

C# Stopwatch class code optimization performance measurement elapsed time system timer.


Understanding Design Principle vs Design Pattern in C#

Converting a String to an Integer in C#: Methods and Examples

Using the

Understanding Boxing and Unboxing in C# Programming

Understanding the ref Keyword in C#

Understanding the ref Keyword in C#

This article explains the ref keyword in C#, including how it works and how to use it to pass arguments by reference and define reference parameters.

Demo & Full Guide

C# ref keyword pass by reference reference parameters pointers in C#


How to Sort an Array in C#: A Complete Guide

How to Sort an Array in C#: A Complete Guide

This article is a comprehensive guide on how to sort an array in C#. It covers the most commonly used methods for sorting an array in ascending or descending order. Additionally, it explains how to sort an array of objects and using LINQ for sorting.

Demo & Full Guide

C# sorting Array.Sort Array.Reverse IComparable LINQ.