Is it possible to inherit a method within a class?
Or does it always need to be parent class inheriting child class?
For example:
A class called make_chart
Has:
public void style_Chart(Chart chartName,....)
{
}
Can I then inherit style_Chart into a new method called style_Chart2?
Something like this:
public void style_Chart2: style_Chart(new parameter)
{
}
Within the same type, you would just invoke it:
If you are dealing with sublasses, you might also consider
virtual/base/override. There is a chaining syntax, but it only applies to constructors (: base(...)or: this(...)).