1

How method overloading is considerd as a static polymorphism in c#?

1
  • 3
    Is that a question for school? Please elaborate. Commented Mar 26, 2011 at 14:31

1 Answer 1

5

According to google (if you type in "define static polymorphism"):

Polymorphism implemented at compile-time; generics.

At compile time it is known exactly which overload to call (based on arguments). If compiler cannot determine this, it generates an error.

The only exception is the dynamic keyword.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.