Gary Willoughby Gary Willoughby - 3 months ago 14
C# Question

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

What is the difference between

bool
and
Boolean
types in C#?

Answer

bool is an alias for System.Boolean just as int is an alias for System.Int32. See a full list of aliases here.

Comments