M Morten Wennevik Sep 15, 2006 #2 Hi Alan, It matters not. bool is an alias for System.Boolean. bool is easier to read and write though.
Hi Alan, It matters not. bool is an alias for System.Boolean. bool is easier to read and write though.
G Guest Sep 15, 2006 #3 There is no difference in the functionality. bool is alias of System.Boolean. But it feels better to use bool than Boolean.
There is no difference in the functionality. bool is alias of System.Boolean. But it feels better to use bool than Boolean.
? =?ISO-8859-1?Q?Arne_Vajh=F8j?= Sep 16, 2006 #4 Alan said: Should I use bool or Boolean to define a variable? Click to expand... Just be consistent. I prefer to use the C# language types over .NET types where such exist. But that is just my personal preferences. Being consistent is not a personal preference that is common sense. Arne
Alan said: Should I use bool or Boolean to define a variable? Click to expand... Just be consistent. I prefer to use the C# language types over .NET types where such exist. But that is just my personal preferences. Being consistent is not a personal preference that is common sense. Arne