+ 1

How can I Override Method, properties and indexers

With code snippets

19th Jun 2019, 7:23 PM
Fredrick Obarafor (Fredoski)
Fredrick Obarafor (Fredoski) - avatar
7 Respuestas
+ 2
1: Overriding method https://code.sololearn.com/c7P1Q7lSmIWU A overridden method is a method that behaves different from what was defined in the base class.
22nd Jun 2019, 8:14 PM
sneeze
sneeze - avatar
+ 2
can't properties be overridden?
23rd Jun 2019, 6:18 AM
Fredrick Obarafor (Fredoski)
Fredrick Obarafor (Fredoski) - avatar
+ 1
Please elaborate more. What do you want to know ?
20th Jun 2019, 8:36 PM
sneeze
sneeze - avatar
+ 1
How can I Override properties In C#
21st Jun 2019, 9:41 AM
Fredrick Obarafor (Fredoski)
Fredrick Obarafor (Fredoski) - avatar
+ 1
I want more on 1: overriding method 2: Overriding properties 3: overriding indexers In C#
21st Jun 2019, 9:44 AM
Fredrick Obarafor (Fredoski)
Fredrick Obarafor (Fredoski) - avatar
+ 1
What do you mean with overriding properties ? Can you give a real life example. What needs the propertie to do different in the derived class ?
22nd Jun 2019, 9:04 PM
sneeze
sneeze - avatar
+ 1
No,
23rd Jun 2019, 7:45 AM
sneeze
sneeze - avatar