2
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 differences between these types.
Example of implementation of 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();
}
}
Exit:
variableBool = False, variableBoolean = False