What the hell! C# question

Miscellaneous Forums/General Discussion/What the hell! C# question

Im sure it is. I just never used it. The example in the c# reference looks more complicated than i need.

For example how would i do this in c#:

void myfunc (int a, int b=10)
{
}

I assume i would need something like:

void myfunc (int a, 10);
void myfunc (int a, int b)
{
}