Skip to content

Category Archives: C# Programs

Have you ever wanted to programmatically read data from a website? Maybe you want to scrape data from a site that doesn’t have an API,… Read More
Async and Await are the two keywords that help us to program asynchronously. An async keyword is a method that performs asynchronous tasks such as… Read More
C# is a general-purpose, modern and object-oriented programming language pronounced as “C Sharp”. In this article we will see the C# program, to count punctuation… Read More
C# is a general-purpose, modern and object-oriented programming language pronounced as “C Sharp”, in which we can create files. Sometimes we need to do perform… Read More
C# is a general-purpose, modern and object-oriented programming language pronounced as “C Sharp”. In this article, we will see how to calculate the area of… Read More
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