public interface IFoo
{
void Bar(int i, string j="");
}
public class Test: IFoo
{
public void Bar(int i, string j="")
{
}
}
Question: in interface Ifoo is there a need to add optional parameter string j="" or one should go with string j? What is the best practice?