public class Car
{
......
}
is it require to use parent class each time in all partial classes or just first one (and why? good for performance or clean code?)
public partial class TwoWheels : Car
{
..... (1)
}
public partial class TwoWheels : Car
{
..... (2)
}
Or
public partial class TwoWheels : Car
{
..... (1)
}
public partial class TwoWheels
{
..... (2)
}
i'm using second one in my codes but first one is working too