there are two types of polymorphism: compile time polymorphism and run time polymorphism. Compile time (static) polymorphism occurs when a method is overloaded; that is, when the argument
Demonstrating Array of Interface Types (using runtime polymorphism) in C# dependecy walker for .Net assemblies Dependency injection for static properties Dependency Injection Generic Interface Derived Class methods need to accept different parameters than the Base Class methods. Deserealization return empt...
Type classes on the other hand address ad hoc polymorphism of data types. This approach is also known as overloading.To get a first intuition let's start with a simple example.We would like to be able to use characters (represented by the data type Char) as if they were numbers. E....
Demonstrating Array of Interface Types (using runtime polymorphism) in C# dependecy walker for .Net assemblies Dependency injection for static properties Dependency Injection Generic Interface Derived Class methods need to accept different parameters than the Base Class methods. Deserealization return emp...