How To

Using OLEDB CSV Parser in C#
By Tan Lee Published on Jan 16, 2025 509

To use the built-in OLEDB CSV parser in C#, you can take advantage of the OLEDB provider that allows you to treat CSV files as database tables.

How to Get an Enum from a Number in C#
By Tan Lee Published on Jan 16, 2025 483

To get an enum from a number in C#, you can use the Enum.ToObject method, which allows you to convert an integer value to its corresponding enum value.

How to Change the Text Selection in a DataGridViewCell in C#
By Tan Lee Published on Jan 16, 2025 444

In this tutorial, we’ll walk through how to change the text selection in a DataGridViewCell in C#.

C# Custom List Sorting
By Tan Lee Published on Jan 16, 2025 771

In C#, the List<T> class is a powerful collection type, providing built-in methods to efficiently sort and search data.

Get File Listings in C#
By Tan Lee Published on Jan 16, 2025 480

To get file listings in C#, you can use the System.IO namespace, which provides classes like DirectoryInfo and FileInfo for interacting with the file system.

Editing the Windows Registry in C#
By Tan Lee Published on Jan 16, 2025 660

In this tutorial, we'll explore how to edit the Windows registry using C#. We will cover the steps to create new keys and values, as well as modify existing ones.

C# Image Rotation
By Tan Lee Published on Jan 16, 2025 569

In this article, we will continue our exploration of image editing techniques in C# by focusing on a simple method to rotate an image, similar to how it's done in Adobe Photoshop.

Using the Conditional Attribute in C#
By Tan Lee Published on Jan 16, 2025 434

In C#, we often use methods like Debug.WriteLine and Debug.Assert to help with debugging during development.

Understanding Select and SelectMany in C#
By Tan Lee Published on Jan 15, 2025 457

In C#, Select and SelectMany are both LINQ (Language Integrated Query) methods that are used to project or transform elements in a collection.

Message Box C#
By Tan Lee Published on Jan 15, 2025 1.38K

In C#, you can display a message box using the MessageBox class from the System.Windows.Forms namespace.

JavaScript String Encoding in C#
By Tan Lee Published on Jan 15, 2025 731

The System.Uri.EscapeDataString() method in C# is used to encode a string so that it can be safely included in a URI.

Sending an email via SparkPost in C#
By Tan Lee Published on Jan 15, 2025 377

SparkPost is a reliable and cost-effective email delivery service that provides easy integration and powerful features for email communication.