Calling a method with different type of parameter is not throwing exception, why ?

Hi Guys. Hope you are doing fine. I am coding these days on Xamarin Android and I have seen a very new thing that made me curious. var indicator = ObtainStyledAttributes(new[] { Resource.Attribute.indicator }); tabLayout.SetSelectedTabIndicatorColor(indicator.GetColor(0, 0)); So, the indicator.GetColor(0,0) returns a color, but the SetSelectedTabIndicatorColor accepts only Integer, and there is no overloaded method which […]