How To
How to Use Custom Cursors in C#
By Tan Lee Published on Jan 16, 2025 507
While .NET offers default cursors, creating a custom cursor can be an exciting way to stand out or cater to specific needs.
How to draw text on an image in C#
By Tan Lee Published on Nov 15, 2024 413
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#
By Tan Lee Published on Jan 16, 2025 409
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#
By Tan Lee Published on Jan 16, 2025 258
In this guide, I will show you how to bind a DataGridView to a regular .NET collection.
Shuffling a Dictionary in C#
By Tan Lee Published on Jan 16, 2025 308
To shuffle a dictionary in C#, you'll need to leverage LINQ and randomization.
How to Convert a Color Image to Grayscale in C#
By Tan Lee Published on Jan 16, 2025 348
Converting a color image to grayscale is a common task in image processing with C#.
How To Auto Ellipse Text in C#
By Tan Lee Published on Jan 16, 2025 301
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
By Tan Lee Published on Jan 16, 2025 366
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#
By Tan Lee Published on Jan 16, 2025 500
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#
By Tan Lee Published on Jan 16, 2025 440
In this tutorial, we'll walk through building a simple threaded TCP server in C#.
Building a Simple CSV Parser in C#
By Tan Lee Published on Jan 16, 2025 195
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#
By Tan Lee Published on Jan 16, 2025 198
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.