inheritance c# examples
Example: c# class inheritance constructor
public otherclass{
public otherclass(a,b){
a=0;
b=1;
}
}
public baseClass : otherclass{
public baseClass(string str,int a, int b): base(a,b){
str="whatever";
}
}