Search
Difference between Array and ArrayList in C#
By Tan Lee Published on Feb 07, 2025 147
In C#, both Array and ArrayList are used to store collections of elements.
Read moreWriting Text to a Physical File Using StreamWriter in C#
By Tan Lee Published on Feb 07, 2025 153
To write text to a physical file using StreamWriter in C#, you can follow these steps.
Read moreDifference between string and StringBuilder in C#
By Tan Lee Published on Feb 07, 2025 184
In C#, both string and StringBuilder are used to work with text, but they differ significantly in how they handle memory and performance when modifying text.
Read moreDateTime formats in C#
By Tan Lee Published on Feb 07, 2025 163
In C#, you can convert a `DateTime` object to a string in various formats using the `ToString()` method. By passing the desired format as a string parameter to the `ToString()` method, you can retrieve the date and time in the required format.
Read moreHow to get unix timestamp in C#
By Tan Lee Published on Jul 11, 2024 2.25K
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.
Read moreHow to make concurrent requests with HttpClient in C#
By Tan Lee Published on Jan 21, 2025 831
The HttpClient class is designed for making concurrent requests. It is thread-safe, meaning you can send multiple requests at the same time, whether from a single thread or multiple threads.
Read moreHow to Create Barcode Images from a string in C#
By Tan Lee Published on Jul 16, 2024 12.73K
Creating barcode images from a string in a C# Windows Forms application using the BarcodeLib library is quite straightforward.
Read moreHow to Add close button to tab control in C#
By Tan Lee Published on Jun 21, 2024 18.6K
Adding a close button to each tab in a TabControl in a C# Windows Forms Application involves several steps.
Read moreHow to download multiple files in C# using Parallel
By Tan Lee Published on May 25, 2024 9.34K
Downloading multiple files in parallel in a C# Windows Forms Application can be efficiently achieved using asynchronous programming techniques along with Task and HttpClient.
Read more