Possible Duplicate:
What is the difference between Bool and Boolean types in C#
What is the difference between bool and Boolean in c# .net
Possible Duplicate:
What is the difference between Bool and Boolean types in C#
What is the difference between bool and Boolean in c# .net
The 'bool' keyword is an alias for System.Boolean. There is no functional difference between the two.
There is no difference. bool
is an alias for System.Boolean
.
bool
is the C# keyword, Boolean
is the .Net type. There is no difference between them, the C# keyword is just another name for the system type.
There is a similar "duality" with string
and String
, string being a C# keyword and String the .Net type.