How To

Convert XML to JSON in C#
1/10/2025 2:17:20 AM  69

To convert XML to JSON using ExpandoObject, XDocument, and Newtonsoft.Json in C#, follow these steps:

How to Hide a WinForm in C#
1/9/2025 9:05:22 AM  9.26K

In C#, you can hide a WinForm after it run by using the Hide() method of the form.

How to convert timestamp to date in SQL Server
1/9/2025 8:59:09 AM  408

In SQL Server, you can convert a timestamp (or datetime) to just a date using the CAST or CONVERT functions.

How to Change system time in C#
1/9/2025 8:41:47 AM  205

In C#, the DateTime struct does not have any built-in method to set the system time.

How to disable the Windows key in C#
1/9/2025 8:11:58 AM  147

To disable the Windows key in C#, you can use a global keyboard hook to intercept key presses and block the Windows key.

Boosting Web Performance with MapStaticAsset in ASP.NET Core
1/9/2025 7:24:02 AM  88

Faster page loads enhance user experience, reduce bandwidth usage, and contribute to better search engine rankings.

How to increase session timeout in ASP.NET MVC
1/9/2025 7:07:15 AM  886

This post shows you How to increase session timeout in ASP.NET MVC

How to Open a PDF file in C#
1/9/2025 6:29:45 AM  91

In this article, we will explore how to display a PDF file in a WebBrowser control in a Windows Forms application.

How to Send Emails in C# via SMTP
1/9/2025 4:47:07 AM  102

C# is a popular programming language used for developing web applications, enterprise software, and games, all of which often require communication with users.

How to remove HTML tags from string in C#
1/9/2025 4:45:22 AM  156

In this post, we will explore how to remove HTML tags from a string in C#.

How to send web request to URL in C#
1/9/2025 4:38:06 AM  63

In this post, we will cover how to send a web request to a URL in order to retrieve data.

How to iterate over Enum in C#
1/9/2025 4:34:36 AM  50

In this post, we will explore the topic of "How to iterate over an Enum in C#?" The Enum type is a commonly used feature in many C# applications.