How would you inherit from one class and have multiples of a single property from it Example
And here is the actual code (So Far)
class NetWorkInterface
{
public double Vlan;
public string Ip;
}
class Port : NetWorkInterface
{
public double PortNumber;
}
public void test ()
{
Port newport = new Port();
newport.PortNumber = 7;
newport.Vlan = 100
}
I want to be able to add multiple interfaces to one port