Sahil Bansal
What is compile time Polymorphism and how you can achieve it in C#?
By Sahil Bansal in C# on Aug 21 2012
  • neeru sharma
    Sep, 2012 17

    Compile time polymorphism: Example of compile time polymorphism is method overloading. method overloading is or more methods with the same name but with different parameter public class test{ public int add(int x, int y) { return x+y; } public int add(int x, int y, int z) //compare to above method it have different signature so its compile time polymorphism { return x+y+z; }}

    • 0

Most Popular Job Functions