Poly means many and morph means form. Thus, polymorphism refers to being able to use many forms of a type without regard to the details. One of the basic concepts of object oriented software development …
Read More »Abstract Class and Interfaces in csharp
overloading in C#
Constructors are also functions and can be parameterized (takes parameters as input)and they can be overloaded. They allow flexibility while creating an object. Suppose there is a Rectangle class declared in the System.Drawing namespace. It …
Read More »Abstract Classes and Methods in C#
This is a detailed analysis of Abstract classes and methods in C# with some concrete examples. The keyword abstract can be used with both classes and methods in C# to declare them as abstract. …
Read More »Interfaces in C#
What an interface is since the word interface has a different meaning based on the context it is used in. The word interface is often used to describe the public parts of a class, i.e. …
Read More »What is Advantages and Disadvantages of Interfaces In C# Programming Language?
Disadvantage of using Interface One drawback of using interfaces is that it makes the code more complicated to understand. Advantage of using Interface The major advantage of using interfaces is that you add an extra …
Read More »