我正在設計一個新的系統,並且我有很多隨系統時間增長的接口。什麼是命名這個接口接口和版本控制
ISomethingV01
ISomethingV02
etc
,我做這個
public interface ISomething{
void method();
}
然後,我有那麼現在我做什麼補充方法2的最佳做法是什麼?
public interface ISomethingV2:ISomething{
void method2();
}
或相同的其他方式?