[英]What's the difference between String and string in Dart?
I can't understand why in some docs the String method is capitalized, but in some docs the same method is not. 我不明白为什么在某些文档中将String方法大写,但在某些文档中却没有使用相同的方法。
string
vs String
. string
vs String
。
What is difference? 有什么区别?
The difference is that String
is a type and string
is not. 区别在于
String
是类型,而string
不是。
For more details it depends on the context. 有关更多详细信息,取决于上下文。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.