What is the difference between bool and Boolean types in C#
C#中bool
和Boolean
类型有什么区别?
bool
is an alias for System.Boolean
just as int
is an alias for System.Int32
. See a full list of aliases here: Built-In Types Table (C# Reference).
I don't believe there is one.
bool
is just an alias for System.Boolean
They are one in the same. bool is just an alias for Boolean.
链接地址: http://www.djcxy.com/p/21198.html上一篇: 什么时候使用int还是Int32还是string与String?
下一篇: C#中bool和布尔类型有什么区别