How To
How to draw text on an image in C#
1/16/2025 7:21:38 AM 176
To draw text on an image in C#, you can use the System.Drawing namespace, which provides the necessary classes like Graphics, Font, Brush, and Image to work with images and text.
Image Saving, Cropping, and Resizing in C#
1/16/2025 6:27:49 AM 44
When working with image editing in C#, particularly using GDI+, some tasks can feel cumbersome and repetitive.
Binding a DataGridView to a Collection in C#
1/16/2025 6:22:09 AM 66
In this guide, I will show you how to bind a DataGridView to a regular .NET collection.
Shuffling a Dictionary in C#
1/16/2025 4:31:29 AM 44
To shuffle a dictionary in C#, you'll need to leverage LINQ and randomization.
How to Convert a Color Image to Grayscale in C#
1/16/2025 4:20:57 AM 53
Converting a color image to grayscale is a common task in image processing with C#.
How To Auto Ellipse Text in C#
1/16/2025 3:58:37 AM 25
When developing applications in C#, one common requirement is to handle text that exceeds the available space in a UI element, like a label or a text box.
C# Font Scaling
1/16/2025 3:52:35 AM 53
In this tutorial, we will dive into a more advanced technique: scaling the font size so that the text automatically adjusts to fit within a designated area.
Binding a DataGridView to a Database in C#
1/16/2025 3:45:34 AM 68
In this tutorial, we'll walk through a straightforward method for binding a .NET DataGridView to a database without relying on the form designer.
Simple Threaded TCP Server in C#
1/16/2025 3:36:00 AM 58
In this tutorial, we'll walk through building a simple threaded TCP server in C#.
Building a Simple CSV Parser in C#
1/16/2025 3:31:05 AM 30
When working with multiple Comma Separated Value (CSV) files, the challenge of efficiently reading and managing the data can arise.
Using OLEDB CSV Parser in C#
1/16/2025 3:24:41 AM 22
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#
1/16/2025 3:03:09 AM 38
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.