c# python

  1. ulaho

    How to write this in c# ?

    I have a function like this which would work in python: xtime = lambda a: (((a << 1) ^ 0x1B) & 0xFF) if (a & 0x80) else (a << 1) How to implement same idea in c# ? I get errors, if I write this like that: int xtime(int x) { if (x & 0x80) { return (((x << 1) ^ 0x1B) &...
Back
Top
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features and essential functions on BlackHatWorld and other forums. These functions are unrelated to ads, such as internal links and images. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock