C# (Sharp) Programming Language Question:
How is method overriding different from method overloading?
Answer:
When overriding a method, you change the behavior of the method for the derived class. Overloading a method simply involves having another method with the same name within the class.
Previous Question | Next Question |
What does the keyword “virtual” declare for a method or property? | Can you declare an override method to be static if the original method is not static? |