Tag Archives: class

Why do we use Abstract class

In one of my previous article I have described about why do we use interface in C#. But in C# we have very important class known as abstract class. Abstract class can have one or more methods which can be abstract(only signature). But interface only contain the method signature. Then how is an abstract class different from an… Read More »

Learning JavaScript – Prototype and Inheritance

In my earlier article in this series of learning JavaScript I have discussed about the data types , functions, this keyword and properties and classes. In this article I will discuss about a very important concept of JavaScript known as prototype with code examples. After that I will discuss how we can use prototype to create… Read More »

Learning JavaScript – Classes and Properties with Examples

In my previous posts I have discussed about the datatypes, functions and this keyword in javascript. In this article I will discuss about the anonymous type,  class, properties and how we can achieve encapsulation in JavaScript with code examples.

Aliases for Type and resolving external assembly collision

Type Aliases There can be chances that we have two classes of same name residing in the same assembly or the different assemblies but we cannot  change the name of the classes due to design restrictions.