Why is this allowed?
private void foo(int x, int y, int z = 0) { MessageBox.Show("A"); } private void foo(int x, int y) { MessageBox.Show("B"); }
... and what is the reason for the C # constructors defining "B" if you try to execute foo(0,0); ?
source share