Question about &&
i got 2 questions logical operator &&.
1) it's supposed operates between 2 bool, , when operators ints (for example) implicit conversion.. in sense? ( thought if int > 0 implicit conversion returns true = 1, i'm right?)
2) && acts & internally, right?
1) check out:
int = 0; int b = 1; console.writeline("{0}", convert.toint32((a < b)));
output: 1
- the operation
x
&&
y
corresponds operationx
&
y
, except thaty
is evaluated ifx
istrue
.
wizend
Visual Studio Languages , .NET Framework > Visual C#
Comments
Post a Comment