Skip to content

Category Archives: C# Programs

C# is a general-purpose,  object-oriented programming language pronounced as “C Sharp”. It is a lot syntactically similar to Java and is easy for users who… Read More
Given a list that contains the details of the students, now we produce a filtered sequence of elements that contain only one property of each… Read More
ICollection is an interface that contains size, enumerations, and synchronization methods for all nongeneric collections. It is the base interface for classes in System.Collections namespace.… Read More
In this program, using client, employee name is being accepted and then it passes the employee job using XML. On the client-side, we are using… Read More
C# provides an IComparable interface. This interface provides different types of type-specific comparison methods which means a value type or a class can implement this… Read More
Given a director, now we will find the list of the sub-directories present in the given directory. So to this task, we use the GetDirectories()… Read More
FileStream class is used to perform read and write operations in a file. It provides full support for both synchronous and asynchronous read and write… Read More
FileStream class is used to perform read and write operations in a file. It provides full support for both synchronous and asynchronous read and write… Read More
Given two classes named as Employee and Department, now we join Employee and Department class with the help of LINQ join Query. So to this… Read More
FileStream class is used to perform read and write operations in a file. It provides full support for both synchronous and asynchronous read and write… Read More
DirectoryInfo class provides different types of methods and properties that are used to perform operations on directories and sub-directories like creating, moving, etc. This class… Read More
DirectoryInfo class provides different types of methods and properties that are used to perform operations on directories and sub-directories like creating, moving, etc. This class… Read More
DirectoryInfo class provides different types of methods and properties that are used to perform operations on directories and sub-directories like creating, moving, etc and FullName… Read More
Given a directory, now we will find the list of files from the given directory. So for this, we use the GetFiles() method of the… Read More
Given a collection of strings and you are required to split them into groups using C#. The standard query operator contains GroupBy grouping operator using… Read More

Start Your Coding Journey Now!