| Author: Anil Kumar Pandey 06 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
one is type and other is Class
Bool - type Boolean -- Class
Thanks & Regards Anil Kumar Pandey
|
| Author: HimaBindu Veeramachaneni 06 Nov 2009 | Member Level: Diamond | Rating:  Points: 2 |
C# bool is an alias for System.Boolean.
Boolean works in vb or C# where as bool works only in c#
http://dotnetspider.com/mentors/18-HimaBindu-Veeramachaneni.aspx?tab=details'
|
| Author: Hari 06 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
bool is an alias for System.Boolean just as int is an alias for System.Int32. System.Boolean is CLR specific where bool is C# specific. You can use either one of them and the CTS takes care of the conversion into CIL.
|
| Author: Abhisek Panda 06 Nov 2009 | Member Level: Gold | Rating:  Points: 2 |
As said by others bool is an alias for System.Boolean. System.Booleant is the CTS format of .NET. So it will work in any language. But bool will work only in C#.
Thanks And Regards, Abhisek Panda Be Happy And Make Others Happy. Go Green and Save Your Future.
|
| Author: naga sham 08 Nov 2009 | Member Level: Bronze | Rating:  Points: 2 |
yes bool works only in c# where as boolean works in entire .net
|
| Author: Kirtan 08 Nov 2009 | Member Level: Silver | Rating:  Points: 2 |
Both are Same Just Alias Are Given By Microsoft
bool = System.Boolean
and also you can Directly call Boolean Class
Kirtan Patel ----------------------------------------------------- Master Of Computer Application(Sem-1) Bachelore of Computer Application
|