C# – the difference between bool and Boolean types in C#

booleanctypes

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

Best Answer

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