Working With File Class In C#

0 Comments 0 tags

In C#, ‘File’ class provides many static methods for moving, copying, and deleting files. These Static methods involve moving a file and copying and deleting a file also. Let’s check

How to Read a Text File in C#

0 Comments 0 tags

In C# ‘File’ class provides static methods to read given text file data. The File.ReadAllText() method opens a text file, reads all the text present in the file into a

C# | How to use Interface references

0 Comments 0 tags

In C#, you’re permitted to make a reference variable of an interface type or in other words, you’re permitted to form an interface reference variable. Such kind of variable can

C Sharp Interface

0 Comments 0 tags

Comparable as a Class, Interface can have methods, properties, events, and indexers as its individuals. But interfaces will contain just the declaration of the members. The implementation of the interface’s

Solve undeclared prefix error on XElement.Load()

0 Comments 0 tags

Let’s check below how to solve undeclared prefix error on XElement.Load(). In order to use a namespace prefix (such as addthis:), the namespace must be declared, by writing xmlns:addthis=”Fixed URI”.

Develop Custom DOM object for Edge/Chrome

0 Comments 0 tags

We can also create our custom plugin or object. We’ll create a JavaScript object and then create nested methods in this with same name we were having in IE DOM

C# | Classes and Constructors

0 Comments 0 tags

In this post we’ll learn about C# | Classes and Constructors. Below we are going to talk about: Adding New Elements in Solution Explorer Even though we can create new

Polymorphism and Types

0 Comments 0 tags

Polymorphism means one name in many forms. This is the main feature of OOP. Polymorphism is the ability to take on multiple forms, but the name remains the same. There

C# | Method Overloading

0 Comments 0 tags

Method overloading is a common way to implement polymorphism. This is the ability to redefine functions in multiple formats. Users can implement function overloading by defining two or more functions

C# | Method Overriding

0 Comments 0 tags

Method overrides in C# are similar to virtual functions in C++. Method overriding is a technique that allows you to call a function from another class (the base class) in