Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Foo { public void Do() { /*...*/ } /*...*/ }
- class Bar : Foo { public static void Do() { /*...*/ } /*...*/ }
- class Foo { public static void Do() { /*...*/ } /*...*/ }
- class Bar : Foo { public void Do() { /*...*/ } /*...*/ }
- class Foo { public void Do() { /*...*/ } /*...*/ }
- class Bar : Foo { new public static void Do() { /*...*/ } /*...*/ }
- class Foo { public void Do() { /*...*/ } /*...*/ }
- class Bar : Foo {
- new public static void Do()
- { new Bar().Do();/*...*/ } /*...*/
- }
- using System;
- using System.Collections.Generic;
- class Foo { public void Do() { /*...*/ } /*...*/ }
- class Bar : Foo {
- new public static void Do()
- { ((Foo)new Bar()).Do();/*...*/ } /*...*/
- }
- new public static void Do()
- {
- ((Foo)new Bar()).Do();
- }
Add Comment
Please, Sign In to add comment