Get up to 80 % extra points for free! More info:

Discussion – Lesson 7 - Inheritance and polymorphism in C# .NET

Back

 

Comments
Avatar
Lennart Völler:11/16/2017 8:17

When beginning this course I asked myself why you would override the ToString() method. It sounded easyer to my just to make a new method like MyString(). Now I understand that this was the concept of polymorphism in action to give other People the chance to interact with my class in a unified way over a commonly known interface.

Very very helpfull!

 
Reply
11/16/2017 8:17
Avatar
Replies to Lennart Völler
David Capka Hartinger:11/16/2017 13:31

Thanks Lennart, we're glad you like it :)

Reply
11/16/2017 13:31
You can walk through a storm and feel the wind but you know you are not the wind.
To maintain the quality of discussion, we only allow registered members to comment. Sign in. If you're new, Sign up, it's free.

2 messages from 2 displayed.