wyld

wyld wyld

Niner since 2004

C# fanatic, stuck in VBScript prison currently. Hoping one day to convice the powers that be that .NET must be moved to forth-with.

Interests: Outdoors, canoeing, backpacking etc.

Comments

  • Eric Gunnerson - How do you design new features for C#?

    I think I've seen the reasoning for this from other languages (Java I believe). THe reason I recall is that you can handle optional parameters with method overloading and this also alleviates some ambiguity problems as well.

    eg.

    public void MyMethod(int num) {
       MyMethod(num, "default text");
    }

    public void MyMethod(int num, string text = “default text”)
    {
         ...
    }