public int ToInt( IFormatProvider provider )
If there is no meaningful conversion to an integer this method will throw an InvalidCastException
Target Platforms: Android 4.4+, iOS 8+
Development Environments: Visual Studio 2015+, Visual Studio for Mac Preview, Xamarin for Visual Studio 4.2+