Advertisement
Guest User

code

a guest
Nov 8th, 2017
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. class Program
  2.     {
  3.         static void Main(string[] args)
  4.         {
  5.             BaseC kek = new DerivedC();
  6.  
  7.             Console.ReadLine();
  8.         }
  9.     }
  10.  
  11.     public class BaseC
  12.     {
  13.         public int x;
  14.     }
  15.     public class DerivedC : BaseC
  16.     {
  17.         public int y;
  18.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement