Skip to content

Category Archives: C# Programs

Multithreading is one of the powerful concepts of any programming language. It is basically thread-based multiprocessing. In this process, the program is divided into different… Read More
IDictionary Interface is an interface that belongs to the collection module where we can access the elements by keys. Or we can say that the… Read More
The size of the folder is a sum of the size of files and subfolders included in the folder. Here, we will learn to calculate… Read More
C# allows function arguments to have default values such types of arguments known as default arguments. Or in other words, a default argument is an… Read More
In C# IList interface is an interface that belongs to the collection module where we can access each element by index. Or we can say… Read More
System namespace and mscorlib.dll assembly in C# language provide a variety of classes and structures. It also provides DateTime struct using which we can initialize… Read More
C# provides a great feature to function that is a function argument can have default values. When a function is called without the argument, the… Read More
Given files, now we count the files based on extension using LINQ. We are considering all types of file formats like pdf, txt, xml and… Read More
Given a list of city names, we need to reverse the list of cities and this can be done using the reverse() method in LINQ.… Read More
Given a file, now our task is to copy data from one file to another file by overwriting the same file name using C#. So… Read More
A Sealed class is a class that will not let the users inherit the class. We can create a sealed class using sealed keywords. This… Read More
Given a list of objects, we need to find the integer double numbers from the list of objects and sort them using LINQ. So this… Read More
Given a list, we need to check if a specified city exists in the given list using LINQ. So we can do this task using… Read More
Given a list of student names, now our task is to sort the names given in the list in descending order using the LINQ, This… Read More
Given a list of objects, we need to find the negative double from the list of objects, this task can be done using the OfType()… Read More

Start Your Coding Journey Now!