Extension method in C#

 

 Hello friends, In this tutorial, we are going to learn the Extension method in C#. Extension methods as the name suggest are an additional method that is used to add additional functionality to an existing type without altering. Extension method in C#:: Suppose you want to add additional functionality without modifying or recompiling or modifying…

Read More

DirectoryInfo class in C#

 

 Hi friends, In this tutorial We are going to learn DirectoryInfo class in C#. DirectoryInfo class in c# enables you to work with Directory. With Directory Info class You can create, delete, Move or enumerate a directory. What is DirectoryInfo class in c#? DirectoryInfo class in c# enables you to work with Directory. With Directory Info…

Read More

Sealed class in C#

 

 Hello readers, In this session we are going to see Sealed Class in C# with an example. A sealed class is a special class which prevents a class from being inherited by other class. You can declare a class as a sealed class when there is no need to extend it to provide additional functionality. What…

Read More