Can I give default parameters in C#?
In C:
void fun(int i = 1) { printf(\"%d\", i); }
Can we give parameters a default value? I
That is exactly how you do it in C#, but the feature was first added in .NET 4.0