How To
How to Download Crystal Reports for Visual Studio 2022
11/23/2024 2:55:15 AM 1.96K
Crystal Report for Visual Studio 2022 was released on May 20, 2022. The Developer Edition is a 64-bit installer, it will not work if your operating system is 32-bit.
How to get unix timestamp in C#
11/23/2024 1:49:33 AM 626
In C#, you can get the Unix timestamp, which represents the number of seconds that have elapsed since January 1, 1970 (Unix epoch), in a couple of ways.
How to pass anonymous types as parameters in C#
11/22/2024 1:08:53 AM 88
In C#, you generally cannot pass anonymous types directly as parameters to methods because they do not have a named type that can be referenced outside their declaration scope.
How to search for files in folder in C#
11/21/2024 2:13:59 AM 141
To search for files in a folder in C#, you can use the Directory.GetFiles method from the System.IO namespace.
How to get data attribute value for selected option
11/21/2024 1:50:54 AM 1.03K
To get the value of a data attribute for the selected option in a dropdown using jQuery, you can use the data() method along with the :selected selector.
How to get int value from enum in C#
11/20/2024 7:33:34 AM 104
In C#, you can get the integer value of an enum by using a simple type cast.
Handling disk full errors when copying files in C#
11/20/2024 7:20:51 AM 50
You can use PInvoke to call the GetDiskFreeSpaceEx function from the Windows kernel to check the available disk space on both local and network drives.
How to create a search box in C# WinForms
11/20/2024 6:58:39 AM 120
Creating a search box for a Windows Forms application, similar to the one in the Windows 11.
How to add a resource as a bitmap to C# project in Visual Studio
11/20/2024 6:43:05 AM 344
Adding a bitmap or other resource to a C# project in Visual Studio 2022 involves a few steps, including embedding the resource and accessing it in your code.
How to get the color from a hexadecimal color code using .NET
11/20/2024 6:20:31 AM 197
To get the color from a hexadecimal color code in .NET, you can use the System.Drawing.ColorTranslator class or directly parse the value using methods provided by the .NET framework.
What's New in C# 13
11/19/2024 8:19:01 AM 189
C# 13, released with .NET 9, brings several new features designed to boost developer productivity and improve code efficiency.
How to read and write json file in c#
11/19/2024 7:44:13 AM 133
In C#, you can read and write JSON to a file using the System.Text.Json library.