Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualadt7

Posted 12 November 2012 - 07:51 AM

You're close, but not quite. The following should work:

public class BaseClass
{
	 public BaseClass(int property1, int property2) { }
}

public class SubClass : BaseClass
{
	 public SubClass(int property1, int property2) : base(property1, property2) { }
}

#1adt7

Posted 12 November 2012 - 07:51 AM

You're close, but not quite. The following should work:

public class BaseClass
{
public BaseClass(int property1, int property2) { }
}

public class SubClass : BaseClass
{
public SubClass(int property1, int property2) : base(property1, property2) { }
}

PARTNERS