H
hazz
will the third ctor in this class call the first two or just the null ctor?
public class B {
public B() { ... }
public B(string str) {.....}
public B(Token tkn, string str, int int_var) : this() { ... }
}
can I add an argument to this(str) and do the following so that ctor #3 does
call ctor#2 ?
public class B {
public B() { ... }
public B(string str) {.....}
public B(Token tkn, string str, int int_var) : this(str) { ... }
}
thank you, -greg
public class B {
public B() { ... }
public B(string str) {.....}
public B(Token tkn, string str, int int_var) : this() { ... }
}
can I add an argument to this(str) and do the following so that ctor #3 does
call ctor#2 ?
public class B {
public B() { ... }
public B(string str) {.....}
public B(Token tkn, string str, int int_var) : this(str) { ... }
}
thank you, -greg