What is the difference between bool and Boolean types in C#
Solution 1:
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).
Solution 2:
I don't believe there is one.
bool
is just an alias for System.Boolean
Solution 3:
They are one in the same. bool is just an alias for Boolean.
Solution 4:
There is no difference - bool is simply an alias of System.Boolean.
http://msdn.microsoft.com/en-us/library/c8f5xwh7(VS.71).aspx