Is there any difference compared to the types bool
and Boolean
? It seems to me that both have the same characteristics. I would like to know if there are any differences between these types.
Example of implementing both types:
class Program
{
static void Main(string[] args)
{
bool variavelBool = false;
Boolean variavelBoolean = variavelBool;
Console.WriteLine("variavelBool = {0}, variavelBoolean = {1}", variavelBool, variavelBoolean);
Console.ReadKey();
}
}
Output:
VariableBool = False, VariableBoolean = False