J
Jure Bogataj
Hello!
Why I cannot apply this operator to UINT or INT type in c# (VS 2005)?
uint MyConst;
uint SomeValue;
....
MyConst = MyConst & (!SomeValue)
Trying to erase certain bit inside MyConst. I come from Delphi world and the
translation would be
MyConst = MyConst and (not SomeValue)
where (not SomeValues) turns bits arround (0==>1, 1==>0)
How can the same thing be accomplished in c#?
best regards,
Jure
Why I cannot apply this operator to UINT or INT type in c# (VS 2005)?
uint MyConst;
uint SomeValue;
....
MyConst = MyConst & (!SomeValue)
Trying to erase certain bit inside MyConst. I come from Delphi world and the
translation would be
MyConst = MyConst and (not SomeValue)
where (not SomeValues) turns bits arround (0==>1, 1==>0)
How can the same thing be accomplished in c#?
best regards,
Jure