>Now with 4.0's optional params, there seems to be little need to overload.
>
>What's your opinion?
Different animals. How would optional (or, for that matter, named) parameters help here:
public class WhatEver
{
public void DoSomething(string a) { }
public void DoSomething(int i) { }
}
OhOh Michel - something wrong with the pre tags. What I actually wrote (in tags) was:
public class WhatEver
{
public void DoSomething(string a) { }
public void DoSomething(int i) { }
}
UPDATE for Michel: This looks OK in the posted version but in 'preview' although the code segment showed up with the white background it had a bunch of embedded span elemtents ?