.Net Framework

.Net is a software development platform developed by Microsoft. It was meant to create applications, which would run on a windows platform. The first beta version was released in 2000. Although C# is a computer language that can be studied …

Read more.Net Framework

C# DirectoryInfo Class

In C#, DirectoryInfo Class is a part of System.IO namespace and it provides properties and methods to perform various operations on directory and subdirectory such as to create, delete and move directory. It cannot be inherited. C# DirectoryInfo Properties The …

Read moreC# DirectoryInfo Class

C# FileInfo Class

In C#, FileInfo class provides properties and instance methods that are used to deal with the various operations in a file such as creating, copying, deleting, moving, etc. It is derived from FileSystemInfo class and is a part of System.IO namespace. …

Read moreC# FileInfo Class

C# File I/O

Files are used to store the data permanently in the storage device with a specific name and path. And when we open the file in order to read or write, it becomes a stream. File Handling refers to the various …

Read moreC# File I/O

C# throw keyword

We have already discussed the exception handling in C# and how to handle the exception if one exists. The exception discussed are raised by the CLR automatically, now we will see how we can manually raise an exception. In C#, …

Read moreC# throw keyword

C# Strings

In C#, String is the series of characters or array of characters that represents a text. It is of a reference type (Object) in c#. Various operations are performed on a string such as concatenation, comparison, getting substring, search, trim, …

Read moreC# Strings