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.
Create a spinning busy animation on a background worker thread in a console applcation
How to convert a string to a char array using C#. The ToCharArray method of the string class converts a string to a character array.
Learn how to convert a C# array to a List using List.AddRange or LINQ's ToList method, with a simple .NET 6 example.
How to convert an int data type to a byte array using C# and .NET.
A good resume needs to be effective in portraying who you are to recruiters. Making sure it looks clean, consistent, and easy to read is the most important part of writing a professional resume.
This article provides a comprehensive guide on installing, modifying, and uninstalling a C# application project as an executable (.exe) file in Visual Studio 2022. By following the step-by-step instructions outlined here, you will learn how to generate a standalone executable file and share it with other machines.
A list is a collection of items that can be accessed by index and provides functionality to search, sort and manipulate list items. Here we see how to create a list in c#.
A list is a collection of items that can be accessed by index and provides functionality to search, sort and manipulate list items. Here we see how to create a list of objects with C#.
In this How do I, you will learn how to convert a string to an enum value in C#.
This code example shows how to convert an enum to a string in C#.
How to Convert char array to string using C#. The string class constructor takes an array of characters to create a new string from an array of characters.
How to count dictionary items in C#. The Count property gets the number of key/value pairs in a c# Dictionary.
How to read all items of a Dictionary in C#. The C# Dictionary is a collection. We can use the foreach loop to go through all the items and read them using they Key and Value properties.
How to add items to a Dictionary in C#. The Add method adds an item to the Dictionary collection in form of a key and a value.
How to remove an item of a Dictionary with C#. The Remove method removes an item with the specified key from the collection. The Clear method removes all items from the collection.
How do I create a dictionary using C#. The Dictionary class constructor takes a key data type and a value data type. Both types are generic so it can be any .NET data type.
The List<T> class in C# and .NET represents a strongly typed list of objects. List.Remove() and List.RemoveAt() methods with List.Clear() method can be used to remove items of a List<T> in C#. The code examples in this article demonstrates how to remove an item of a List using C#.
How to read a list items using C#. The List<T> is a collection. We can use the foreach loop to go through all the items and read them.
C# List<T> class provides methods and properties to create a list of objects (classes). List.Remove(), List.RemoveAt(), and List.Clear() methods are used to delete items of a List in C#.
This tip and code snippet shows how to bind a struct to a ComboBox in WPF and load its properties in the drop down.
The following code snippet shows how to bind an enumeration to a ComboBox in WPF or Windows Forms using C#.
This article tells you how to merge any two files, whether it is text or video irrespective of the content type and size of the file.
Here is a code snippet to copy a file in C# using the File class.
The IndexOf method returns the first index of an item if found in the List.
Here in this article is very simple code for short to long and long to short file names conversion.
Everything on How do I, not only its articles: the How do I page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article