Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

(262152 And &H00000008) <> 0) ???? 1

Status
Not open for further replies.

cupcakesrule

Programmer
Feb 6, 2007
35
US
I have this code in a classic ASP Page:
Code:
If ((262152 And &H00000008) <> 0)) Then

End If
How do I go about converting this to ASP.Net C# code? I know how to create an if statement in C# I am jsut confused by this
Code:
((262152 And &H00000008) <> 0))
 
The AND can be && (or &)
The <> is !=

Have a search for bitwise operations
 
Also, i am not sure, but i think that &H00000008 should be written as 0x00000008
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top