Search

How to convert long date to short date in C#
By Tan Lee Published on Nov 10, 2024 435

In C#, you can convert a long date string (e.g., "Monday, October 10, 2024") to a short date string (e.g., "10/10/2024") using the DateTime class and its formatting capabilities.

Read more
How to compress dataset to byte array in C#
By Tan Lee Published on Aug 29, 2024 575

To compress a dataset into a byte array in C#, you can use various compression libraries available in .NET.

Read more
Remote WebDriver in C#
By Tan Lee Published on Dec 27, 2024 412

Selenium allows you to automate browsers on remote computers when a Selenium Grid is set up.

Read more
Using ref, out param in Lambda
By Tan Lee Published on Dec 26, 2024 363

Lambda expressions provide a concise way to define anonymous methods (or inline delegate functions) in C#.

Read more
How to Use HTML Colors in C#
By Tan Lee Published on Dec 26, 2024 345

In C#, there are several ways to specify HTML color codes using the built-in Color class in the .NET framework.

Read more
Image vs Bitmap in C#
By Tan Lee Published on Dec 26, 2024 324

Many people often get confused about when to use the Bitmap class versus the Image class in C#.

Read more
How to Save a PNG File in C#
By Tan Lee Published on Dec 26, 2024 673

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

Read more
How to load an image in C#
By Tan Lee Published on Dec 26, 2024 426

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

Read more
How to Combine Images in C#
By Tan Lee Published on Dec 26, 2024 372

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.

Read more
Creating MSBuild Tasks in C#
By Tan Lee Published on Dec 26, 2024 493

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.

Read more