Create | Hello Guest |
namespace IndiabixConsoleApplication{class Baseclass{int i;public Baseclass(int ii){i = ii;Console.Write("Base ");}}class Derived : Baseclass{public Derived(int ii) : base(ii){Console.Write("Derived ");}}class MyProgram{static void Main(string[ ] args){Derived d = new Derived(10);}}}