> For the complete documentation index, see [llms.txt](https://andreyakinshin.gitbook.io/problembookdotnet/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andreyakinshin.gitbook.io/problembookdotnet/en/oop/overloadresolutionoverride-s.md).

# “OverloadResolutionOverride” (Solution)

## Answer

```
Bar.Quux(object)
Baz.Quux(params T[])
```

## Explanation

There is a rule: if compiler found a suitable signature for a method call in the “current” class, compiler will not look to parents classes. In this problem, the `Bar` and `Baz` classes have own versions of the `Quux` method. Their signatures are suitable for the call argument list. Thus, they will be called; the overloaded `Quux` method of the base class will be ignored.

## Links

* [“Overloading”](http://csharpindepth.com/Articles/General/Overloading.aspx) in [“C# in Depth”](http://csharpindepth.com/)

[Problem](/problembookdotnet/en/oop/overloadresolutionoverride-p.md)
