Practical solutions

C# Howtos How-To Guides

Solve the problem. Keep building. Collection of C# how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

How to Adding Values to a C# ArrayLearn how to add values to a C Priority Queue in C#This article introduces the concept of a priority queue in C How to Convert Array to List in C#Learn how to convert an array to a list in C How to Check if an Object Is Null in C#Learn how to check if an object is null in C How to Read a JSON File in C#Learn how to read a JSON file in C How to Get Length of a 2D Array in C#Learn how to get the length of a 2D array in C Difference Between a Jagged Array and a Multi-Dimensional Array in C#Explore the key differences between jagged arrays and multi-dimensional arrays in C The yield Keyword in C#Explore the yield keyword in C Message Box in C#Learn how to effectively use the MessageBox class in C How to Use Stopwatch in C#Learn how to effectively use the Stopwatch class in C How to Find Substring in a String in C#Learn how to find a substring in a string using C How to Calculate Distance Between 2 Points in C#Learn how to calculate the distance between two points in C Timer in C#Learn how to create and manage timers in C How to Get URL of Current Page in C#Learn how to get the URL of the current page in C LINQ Group by in C#Discover the power of LINQ's "group by" functionality in C How to Wait for Key Press in C#Learn how to wait for key press in C How to Serialize an Object to XML in C#Learn how to serialize an object to XML in C How to Read a File to String in C#Learn how to read a file to a string in C How to Get the Last Element of a List in C#Learn how to get the last element of a list in C How to Deep Copy in C#Learn how to perform deep copying in C How to Catch Multiple Exceptions in C#Learn how to catch multiple exceptions in C Array of Lists in C#Learn how to create an array of lists in C The nameof Expression in C#Discover the power of the nameof expression in C How to Count Down Timer in C#Learn how to create a count-down timer in C