Search
How to read and write data from a CSV file in C#
By Tan Lee Published on Jul 04, 2024 776
To read and write data from a CSV file in C#, you can use the StreamReader and StreamWriter classes from the System.IO namespace.
Read moreHow to determine whether application has administrator rights in C#
By Tan Lee Published on Jul 03, 2024 585
In C#, you can determine whether your application has administrator rights using the following method.
Read moreHow to extract the icon from an executable in C#
By Tan Lee Published on Jul 01, 2024 560
To extract the icon from an executable file (.exe) in C#, you can use the Icon.ExtractAssociatedIcon method from the System.Drawing namespace.
Read moreHow to Call and Consume Web API in C# Winforms
By Tan Lee Published on Jun 29, 2024 2.59K
To call and consume a Web API using RestSharp in a C# WinForms application, you can follow these steps.
Read moreHow to Generate QR Code in RDLC Report using C#
By Tan Lee Published on Jun 20, 2024 768
Generating QR codes in RDLC reports within a C# Windows Forms Application involves a few steps.
Read moreHow to copy a file in C#
By Tan Lee Published on Jun 15, 2024 736
Copying files in C# is simple thanks to the System.IO namespace, which provides methods to perform various operations on files.
Read moreHow to move a file in C#
By Tan Lee Published on Jun 11, 2024 692
In C#, you can move a file from one location to another using the System.IO namespace, which provides classes for working with files and directories.
Read moreHow to delete a file in C#
By Tan Lee Published on Jun 11, 2024 468
In C#, you can delete a file using the File.Delete() method from the System.IO namespace.
Read moreHow to decrypt a file in C#
By Tan Lee Published on Jun 11, 2024 440
In C#, you can encrypt and decrypt a file using the FileInfo class from the System.IO namespace.
Read moreHow to use File.OpenWrite in C#
By Tan Lee Published on Jun 11, 2024 698
In C#, the File.OpenWrite method is used to open an existing file or create a new file for writing.
Read more