Possible Duplicate:
What is the tilde (~) in a C# enumeration?
What does the tilde mean in an expression?
I have download a CRC code snippet from the internet in C# having these lines:
byte[] hashBuffer = UInt32ToBigEndianBytes(~hash);
or
public static UInt32 Compute(byte[] buffer)
{
return ~CalculateHash(InitializeTable(DefaultPolynomial), DefaultSeed, buffer, 0, buffer.Length);
}