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 Filter a DataTable in C#This tutorial shows how to filter a datatable in C#. How to Draw Circles in C#This article teaches us how to draw circles with System.Drawing in C#. How to Create a Progress Bar in C#This tutorial summarizes how to create and use a progress bar in C#. How to Use a Bitmask in C#In this article, we'll learn how to use bitmask in C#. How to Override a Static Method in C#In this article, we'll learn how to override a static method in C#. How to Obtain a Distinct List Based on One or More Properties in C#This article will discuss the basics of using the Distinct() function in LINQ and obtaining a distinct list based on one or more properties in C#. How to User Authentication Against Active Directory in C#This tutorial delineates how to perform user authentication against Active Directory in C#. How to Convert Image to Byte Array in C#In this article, we'll learn how to convert an image to byte array in C#. How to Write XML Into a File in C#In this tutorial, we will learn how to utilize the C# programming language to put XML into a file. How to Write JSON Into File in C#In this post, we'll learn how to use the C# programming language to construct basic JSON objects and write them to a file. How to Convert Decimal to Double in C#In this article, we'll discuss about converting decimal numbers to double in the C# language. How to Create Excel File in C#Using the C# programming language, we'll learn how to generate an Excel spreadsheet. How to Create a Button Click Event in C#In this article, we'll learn how to create a button click event in C# programming language. How to Sort a Dictionary by Its Keys in C#This tutorial describes how to sort a dictionary by key in C#. How to Reverse an Array in C#This tutorial edifies how to reverse an array in C#. How to Initialize a List With Values in C#This tutorial explains how to initialize a list with string values in C#. How to Count the List Elements in C#This tutorial exemplifies how to count the elements of a list in C#. How to Remove String From String in C#In this article, we'll go through the steps necessary to delete certain characters from a string at a given point using the C# programming language. How to Find Duplicates in a List in C#In this article, we'll go through the steps necessary to find the duplicate elements in a list using various methods in C#. How to Open a Form Using a Button in C#This tutorial teaches how to open a new form from a button in C#. How to Read Embedded Resource Text File in C#This tutorial teaches you how to read embedded resource text files using C# programming language. How to Deserialize JSON With C#This tutorial teaches you how to deserialize a JSON object using the C# programming language. How to Throw a Custom Exception Without the Exception Class in C#This tutorial will teach you to throw a custom exception in C# without using the Exception class. How to Read PDF File in C#This is a trivial guide on how we can parse a PDF document in the C# program.