Advertisement
snargledorf

Parameterized base class

Jan 6th, 2012
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class SubClass : BaseClass
  2. {
  3. public SubClass(int int1, int int2):base("","")
  4. {
  5. this.Int1 = int1;
  6. this.Int2 = int2;
  7. }
  8. public int Int1 { get; set; }
  9. public int Int2 { get; set; }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement