what is c# inheritance code example
Example: c# inheritance
class parent_class
{
}
class child_class : parent_class
{
//Will simply move Data and Methods from the parent_class to the child class.
}
class parent_class
{
}
class child_class : parent_class
{
//Will simply move Data and Methods from the parent_class to the child class.
}