c# polymorphism constructor
public class A {
protected int member;
public A(int nb)
{ // Base constructor
member = nb;
}
}
public class B : A {
public B(int nb) : base(nb) // Call base constructor
{ // Derived constructor
}
}