Guest User

Untitled

a guest
Jun 22nd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. .class private auto ansi beforefieldinit B
  2. extends A
  3. implements IAdvanced,
  4. ISimple
  5.  
  6. interface ISimple {
  7. int Basic { get; }
  8. int Zero { get; }
  9. }
  10. interface IAdvanced : ISimple {
  11. string Major { get; }
  12. }
  13. class A : ISimple {
  14. int ISimple.Basic {
  15. get { return 1; }
  16. }
  17. int ISimple.Zero {
  18. get{ return 0;}
  19. }
  20. }
  21. class B : A, IAdvanced {
  22. string IAdvanced.Major {
  23. get { return "B"; }
  24. }
  25. }
Add Comment
Please, Sign In to add comment