How To
Using ref, out param in Lambda
By Tan Lee Published on Dec 26, 2024 396
Lambda expressions provide a concise way to define anonymous methods (or inline delegate functions) in C#.
How to Use HTML Colors in C#
By Tan Lee Published on Dec 26, 2024 381
In C#, there are several ways to specify HTML color codes using the built-in Color class in the .NET framework.
Image vs Bitmap in C#
By Tan Lee Published on Dec 26, 2024 345
Many people often get confused about when to use the Bitmap class versus the Image class in C#.
How to Save a PNG File in C#
By Tan Lee Published on Dec 26, 2024 731
In C#, it's simple to work with images by manipulating them as Bitmap objects.
How to load an image in C#
By Tan Lee Published on Dec 26, 2024 487
In C#, you can load an image using the System.Drawing namespace, which provides the Image class.
How to Combine Images in C#
By Tan Lee Published on Dec 26, 2024 415
In this tutorial, we'll walk through the steps of creating a function that takes in several images and combines them into a seamless composition.
Creating MSBuild Tasks in C#
By Tan Lee Published on Dec 26, 2024 521
MSBuild allows you to extend its functionality by creating custom build tasks using C# (or any .NET language), which can be incorporated directly into your MSBuild project files.
Creating a Simple Windows Service in C#
By Tan Lee Published on Dec 26, 2024 257
A Windows Service is an executable that runs continuously without requiring user interaction.
Creating and Reading Global Attributes in C#
By Tan Lee Published on Dec 26, 2024 304
When you create a new project in Visual Studio, an AssemblyInfo.cs file is often automatically created.
How to get an Enum from a String in C#
By Tan Lee Published on Dec 26, 2024 383
In this tutorial, we’ll demonstrate how to convert an enum from a string value in C#.
Benchmarking with Stopwatch in C#
By Tan Lee Published on Dec 26, 2024 288
In this article, I’ll explain how to track time in a .NET application using the basic Stopwatch class.
Creating a Fluent API in C#
By Tan Lee Published on Dec 26, 2024 298
Fluent interfaces provide a smooth, discoverable way for developers to interact with functionality.