Day 8-Inheritance



Inheritance Click Here to View Practical Example
 Advantage
=>Code Reuse
=> Reduce Time & errors

All the code Which is common is in base class
$Syntax
Public class baseclass
{

}
Public class derived class:baseclass
{
}

All  the field in base class is available or invoked in derived class

c# support only single class inheritance