C#

C# Interface

C# Interface defines a group of related functionality. An interface defines only the definition of the functionality. All classes and structures which inherit from interface must implement the functionality defined in an interface. We can not create an instance of interface. In the interface declaration variable, we can only store the …

C# Interface Read More

TypeScript Interfaces

In this tutorial, we will learn about TypeScript Interfaces. An interface defines what members (properties, functions) an object must have. For example, we define that a interface ICar has two properties ‘make’, and ‘name’ then all objects which implements this interface must have these two properties. In TypeScript interface, we can define …

TypeScript Interfaces Read More