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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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 more
How 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