I port my code to the new unified xamarin.ios api.
I have it as a parameter in a method.
nfloat fontSize = 0f
The compiler complains ...
Error CS1750: Optional parameter expression of type `float' cannot be converted to parameter type `System.nfloat'
How to write a literal for optional parameter nfloat?
source
share