daily pastebin goal
34%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. A.foo
  2. A.bar
  3. B.bar
  4.    
  5. public class A
  6. {
  7.     public virtual string foo()
  8.     {
  9.         return "A Foo";
  10.     }
  11.  
  12.     public string bar()
  13.     {
  14.         return "A Bar";
  15.     }
  16. }
  17.  
  18. public class B:A
  19. {
  20.     public override string foo()
  21.     {
  22.         return "B Foo";
  23.     }
  24. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top