How To

Image vs Bitmap in C#
12/26/2024 9:03:52 AM  145

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#
12/26/2024 9:01:23 AM  304

In C#, it's simple to work with images by manipulating them as Bitmap objects.

How to load an image in C#
12/26/2024 8:46:06 AM  224

In C#, you can load an image using the System.Drawing namespace, which provides the Image class.

How to Combine Images in C#
12/26/2024 8:23:53 AM  176

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#
12/26/2024 8:02:32 AM  294

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#
12/26/2024 7:56:35 AM  99

A Windows Service is an executable that runs continuously without requiring user interaction.

Creating and Reading Global Attributes in C#
12/26/2024 7:47:24 AM  123

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#
12/26/2024 7:41:57 AM  151

In this tutorial, we’ll demonstrate how to convert an enum from a string value in C#.

Benchmarking with Stopwatch in C#
12/26/2024 7:36:04 AM  117

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#
12/26/2024 7:29:22 AM  121

Fluent interfaces provide a smooth, discoverable way for developers to interact with functionality.

Creating a Generic Method for Safe Cross-Thread Invocation in C#
12/26/2024 7:13:23 AM  137

In .NET, each thread runs its own code, and the UI is bound to the main thread, also known as the UI thread.

How to generate large XML sitemaps from a database in C#
12/26/2024 7:00:01 AM  101

Creating and managing XML sitemaps is essential for SEO, as it helps search engines efficiently crawl and index a website's pages.