~
– bitwise NOT operator, basically invert bits
31 in binary format is 11111, so ~31 == 11111111111111111111111111100000, or 0xFFFFFFE0 hexadecimal.
More Related Contents:
- C# Expressional if statements, possible expansion? [closed]
- All possible array initialization syntaxes
- What is the C# Using block and why should I use it? [duplicate]
- C# – Keyword usage virtual+override vs. new
- What are Automatic Properties in C# and what is their purpose?
- Why are C# 3.0 object initializer constructor parentheses optional?
- Why do assignment statements return a value?
- What does the ‘=>’ syntax in C# mean?
- What does the tilde before a function name mean in C#?
- What does “DateTime?” mean in C#?
- Difference between wiring events with and without “new”
- LINQ, Where() vs FindAll()
- Best way to split string into lines
- Using Statement with Generics: using ISet = System.Collections.Generic.ISet
- A textbox/richtextbox that has syntax highlighting? [C#] [closed]
- In c# what does ‘where T : class’ mean?
- Why is Main method private?
- What’s the false operator in C# good for?
- Why prefer Properties to public variables? [duplicate]
- C# binary literals
- C#: Abstract classes need to implement interfaces?
- What does the @ prefix do on string literals in C#
- C# using numbers in an enum
- Is this pattern matching expression equivalent to not null
- The name ‘str’ does not exist in the current context
- What’s the difference between ‘int?’ and ‘int’ in C#?
- Why can’t we define a variable inside a while loop?
- Inline property initialisation and trailing comma
- The request was aborted: Could not create SSL/TLS secure channel
- Nullable type as a generic parameter possible?