How To
Using the ThreadPool in C#
By Tan Lee Published on Jan 16, 2025 448
Multi-threading is a powerful concept that can significantly enhance the performance of applications by allowing multiple tasks to run concurrently.
How to Use Custom Cursors in C#
By Tan Lee Published on Jan 16, 2025 834
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 575
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 654
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 433
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 484
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 551
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 456
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 610
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 857
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 711
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 344
When working with multiple Comma Separated Value (CSV) files, the challenge of efficiently reading and managing the data can arise.