C#中的bool和Boolean类型有什么区别 [英] What is the difference between bool and Boolean types in C#

查看:23
本文介绍了C#中的bool和Boolean类型有什么区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

C#中boolBoolean类型有什么区别?

What is the difference between bool and Boolean types in C#?

推荐答案

boolSystem.Boolean 的别名,就像 intSystem.Int32 的别名.在此处查看别名的完整列表:内置类型表(C# 参考).

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).

这篇关于C#中的bool和Boolean类型有什么区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆