Weekend Advances
I have advanced quite a bit today, as I said I needed to re-factor my physics class, which I did very successfully.I did learn something pretty cool today. How to properly create constructors for Child Classes.
something along the lines of
public class Parent
{
public Parent(int age)
{
// do things with the stuff
}
}
public class Child : Parent
{
public Child(string name, age)
: base(age)
{
// do things with the stuff
}
}
Overloading Constructors is also cool.