Run Code | API | Code Wall | Misc | Feedback | Login | Theme | Privacy | Patreon |
C# Overriding example using virtual and override keywordsWarning(s): (47:21) 'Rextester.Program.C.Method()' hides inherited member 'Rextester.Program.B.Method()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. Hello, world! A B B B |
λ
.NET NoSQL database for rapid development
|