AndreyAkinshin/ProblemBook.NET

OverloadResolutionBasic-S: Error in one of the solutions?

Closed this issue · 1 comments

Currently, the explanation says:

  • Foo(new Bar(), new Bar()) -> params T[]

The object, object option is inaccessible because of number of arguments.

Perhaps I'm missing something here, but I think this might be incorrect, since new Bar(), new Bar() is two objects and thus the object, object overload would be accessible.

Thanks!