Ankit kumar has Published 21 Articles

C# Program to Estimate the Size of Folder

Ankit kumar

Ankit kumar

Updated on 21-Apr-2023 14:14:28

193 Views

Introduction In this article, we will understand the C# program to estimate the size of a folder. On our PC, we store files in a directory called a folder. We will also be understanding how to estimate the size of folders that are present inside a file. Calculation of just ... Read More

C# Program to Delete Empty and Nonempty Directory

Ankit kumar

Ankit kumar

Updated on 21-Apr-2023 14:08:47

362 Views

Introduction On the computer, we can store files in a directory, also known as a folder. A directory also contains shortcuts to other directories and files. Here, we will discuss the C# Program to Delete Empty and Non-empty Directories. A static class called Directory offers static methods for dealing with ... Read More

C# Program to Create String from Contents of a File

Ankit kumar

Ankit kumar

Updated on 21-Apr-2023 14:01:00

99 Views

Introduction Let us see how to create a C# program to create a string from the contents of a file. The string is an integral part of file handling. A string in C# is a series of letters. Like, "TutorialsPoint" is a string containing 't' 'u' 't' 'o' 'r' 'i' ... Read More

C# Program to Copy a File

Ankit kumar

Ankit kumar

Updated on 21-Apr-2023 13:58:59

246 Views

Introduction C# is a high-level language that caters to the large needs of programmers. It can also help in copying a file. So, in this article, we will learn a C# Program to Copy a File. As we know file copying falls in the category of file handling. So, ... Read More

C# Program to check if a path is a directory or a file

Ankit kumar

Ankit kumar

Updated on 21-Apr-2023 13:53:26

3K+ Views

Introduction Let us learn how to write C# program to check if a path is a directory or a file. A directory, also known as a folder, is a place on your computer where you can save files. A directory holds other directories or shortcuts in addition to files. ... Read More

C# Program to Generate Random Even Numbers Using LINQ Parallel Query

Ankit kumar

Ankit kumar

Updated on 04-Apr-2023 16:14:46

520 Views

Introduction In this article we will learn how to write a C# program that uses LINQ parallel query to generate random even numbers. Let's quickly review the language. The C# programming language is basically used to create desktop, internet, and mobile apps. Linguistic Integrated Query, also known as LINQ, is ... Read More

C# Program to estimate the size of the file using LINQ

Ankit kumar

Ankit kumar

Updated on 31-Mar-2023 16:54:59

136 Views

Introduction Let us try to understand the C# program to estimate the size of the file using LINQ. We will be understanding the LINQ (Language Integrated Query) and its methods and classes and how with their help, we will get the desired output. Language Integrated Query aka LINQ is ... Read More

C# Program to Create File and Write to the File

Ankit kumar

Ankit kumar

Updated on 31-Mar-2023 16:53:22

5K+ Views

Introduction Creating a file and writing in it is the basics of file handling. Here, we are going to discuss a way to write a C# program to create the file and write to the file. File handling or file management in layman's terms the various processes such as making ... Read More

C# Program to Generate Odd Numbers in Parallel using LINQ

Ankit kumar

Ankit kumar

Updated on 31-Mar-2023 15:16:16

273 Views

Introduction This article will teach you how to create a C# program that uses LINQ to generate odd numbers in parallel. Let's take a quick look at the language. The creation of desktop, online, and mobile apps generally uses the C# programming language. One of the strengths of C# is ... Read More

C# Program to Find the Negative Double Numbers From the List of Objects Using LINQ

Ankit kumar

Ankit kumar

Updated on 31-Mar-2023 15:09:37

329 Views

Introduction In this article, we will learn how to write a C# program to find the negative double numbers from the list of objects using LINQ. Let's have a small overview of the language. The C# programming language is frequently used to develop desktop, web, and mobile apps. Working ... Read More

Advertisements