我正在将代码移植到新的统一xamarin.ios api。
我将此作为方法中的参数。
nfloat fontSize = 0f
Run Code Online (Sandbox Code Playgroud)
编译器抱怨...
Error CS1750: Optional parameter expression of type `float' cannot be converted to parameter type `System.nfloat'
Run Code Online (Sandbox Code Playgroud)
如何为nfloat的可选参数编写文字?
| 归档时间: |
|
| 查看次数: |
1516 次 |
| 最近记录: |