DS Algo

Data Structure & Algo

Arrays, Linked Lists, Stacks, Queues Trees, Graphs, Hash Tables, Dynamic Programming

Programming

Programming Languages

C++, Java, Python, JavaScript Swift, Go, Rust, C# Kotlin, Ruby, PHP, SQL

Robotics

Automation Testing

UI Automation, API Automation,Mobile,Security,RPA,PRA,Performance

GET IN TOUCH

Schedule a Demo

Our Posts

c 4876

How to Set Column Header Text for a Specific Column in DataGridView in C#

Prerequisites To follow along with this tutorial, you will need a basic understanding of C# programming and the Windows Forms framework. Step-by-Step Guide Step 1: Create a new Windows Forms application First, let’s create a new Windows Forms application in Visual Studio. Open Visual Studio and select “Create a new project”. Choose the “Windows Forms …

Read more

c 2318

How to Create an Excel (.XLS and .XLSX) File in C# without Installing Microsoft Office

If you’re a C# developer looking to create Excel files without the need to install Microsoft Office, you’re in luck! There are several libraries available that can help you achieve this task easily and efficiently. In this article, we will explore two popular libraries, ExcelLibrary and EPPlus, and discuss how to use them to create …

Read more

c 4669

Why would one use Task over ValueTask in C#?

When working with asynchronous programming in C#, developers have the option to use either Task<T> or ValueTask<T> to represent the result of an asynchronous operation. Both types provide similar functionality, but there are certain scenarios where using Task<T> is preferred over ValueTask<T>. In this article, we will explore the reasons why one would choose Task<T> …

Read more

c 1388

Better Way to Cast Object to Int in C#

Have you ever encountered a situation where you needed to cast an object to an integer in your C# code? If so, you may have wondered what the best approach is to achieve this. In this article, we will explore different methods to cast an object to an int in C# and discuss the scenarios …

Read more

c 4462

How to Convert a DataTable to a CSV File in C#

If you are working with data in a DataTable object in C#, you may need to convert it to a CSV (Comma-Separated Values) file format for various reasons. A CSV file is a simple text file where each line represents a row of data, and the values are separated by commas. In this article, I …

Read more

c 2074

How to Remove All HTML Tags from a String in C#

If you’ve ever encountered a situation where you need to remove all HTML tags from a string, but you don’t know which tags are present, you’re in the right place. In this article, I will guide you through the process of removing HTML tags from a string using C#. What is the Problem? When working …

Read more

c 3081

How to Play a Sound in C# using .NET

Playing sounds in a C# application can add an interactive and engaging element to your program. Whether you want to include sound effects, background music, or audio notifications, C# provides a straightforward way to accomplish this using the .NET framework. In this article, we will explore how to play a sound in C# using .NET, …

Read more

c 549

.NET Excel Library: Reading and Writing .xls Files

If you are working with .xls files in your .NET application and need a library that can handle reading and writing operations, you may find NPOI to be a valuable tool. NPOI is a free library that works exclusively with .xls files and does not require Microsoft Office to be installed on your machine. In …

Read more

c 3646

Deciding between HttpClient and WebClient

When it comes to making HTTP requests in C#, there are two popular options available: HttpClient and WebClient. Both APIs serve the same purpose of sending and receiving HTTP requests, but they have some differences that you should consider when deciding which one to use. In this article, we will explore the features and use …

Read more

c 1228

How to Convert a Floating Point Number to Base36 in C#

Have you ever needed to convert a floating point number to Base36 in C#? If you’re familiar with JavaScript, you may have used the .toString(36) method to accomplish this. In C#, there is no built-in method for converting floating point numbers to Base36, but don’t worry, I’ve got you covered. What is Base36? Base36 is …

Read more