1
Hi
The difference between bool and Boolean is as follows :-
bool is basic data type and Boolean is an object type.
Boolean is an class which wraps the bool type because in the object oriented technology,we have to represent in the form of classes and object so that for every data type we have an class type.
bool is just an alias for boolean.
Hope it helps...
0
There is absolutely NO difference between bool and Boolean whatsoever.
All of these bool, int, etc were introduced in IDE just so that the people converting from C, C++ background to C# and having habit of typing like that should feel at home. That's all.
Remember that at some point in history (around 2001) C# was a brand new language and could not been popular unless many people convert to it. So they have to do it.
If you type bool in Visual Studio IDE and hover a mouse over it, you will see System.Boolean as a tool tip which is the correct data type declared in CTS (Common Type System) which is part of .NET Framework.
Hope that clarifies.