tagged [operators]
When must we use checked operator in C#?
When must we use checked operator in C#? When must we use `checked` operator in C#? Is it only suitable for exception handling?
What does ||= (or-equals) mean in Ruby?
What does ||= (or-equals) mean in Ruby? What does the following code mean in Ruby? Does it have any meaning or reason for the syntax?
Static implicit operator
Static implicit operator I recently found this code: What does `static implicit operator` mean?
- Modified
- 23 Dec at 16:31
What does mean "?" after variable in C#?
What does mean "?" after variable in C#? What does this condition mean? P.S. - `helper``class`- `Settings`- `HasConfig`
C# lambda expression reverse direction <=
C# lambda expression reverse direction
Conditional XOR?
Conditional XOR? How come C# doesn't have a conditional `XOR` operator? Example:
- Modified
- 12 Aug at 09:23
Difference between == and === in JavaScript
Difference between == and === in JavaScript What is the difference between `==` and `===` in JavaScript? I have also seen `!=` and `!==` operators. Are there more such operators?
- Modified
- 9 Nov at 14:31
practical applications of bitwise operations
practical applications of bitwise operations 1. What have you used bitwise operations for? 2. why are they so handy? 3. can someone please recommend a VERY simple tutorial?
- Modified
- 7 Oct at 15:44
why -3==~2 in C#
why -3==~2 in C# Unable to understand. Why output is "equal"
- Modified
- 18 Dec at 00:13
What does the question mark character ('?') mean in C++?
What does the question mark character ('?') mean in C++? In the above snippet, what does "?" mean? What can we replace it with?
- Modified
- 12 Sep at 16:52
Question mark and colon in JavaScript
Question mark and colon in JavaScript I came across the following line What do the `?` and `:` mean in this context?
- Modified
- 17 Apr at 14:27
Equivalent of Java triple shift operator (>>>) in C#?
Equivalent of Java triple shift operator (>>>) in C#? What is the equivalent (in C#) of Java's `>>>` operator? (Just to clarify, I'm not referring to the `>>` and `
- Modified
- 19 Apr at 22:19
What exactly does += do?
What exactly does += do? I need to know what `+=` does in Python. It's that simple. I also would appreciate links to definitions of other shorthand tools in Python.
- Modified
- 22 Mar at 14:27
R: += (plus equals) and ++ (plus plus) equivalent from c++/c#/java, etc.?
R: += (plus equals) and ++ (plus plus) equivalent from c++/c#/java, etc.? Does R have a concept of `+=` (plus equals) or `++` (plus plus) as c++/c#/others do?
- Modified
- 26 Jan at 13:4
Modulo operator in Python
Modulo operator in Python What does modulo in the following piece of code do? How do we calculate modulo on a floating point number?
How to search for language syntax in Google?
How to search for language syntax in Google? My current question is what does the
Behaviour of increment and decrement operators in Python
Behaviour of increment and decrement operators in Python How do I use pre-increment/decrement operators (`++`, `--`), just like in C++? Why does `++count` run, but not change the value of the variable...
What does the question mark and the colon (?: ternary operator) mean in objective-c?
What does the question mark and the colon (?: ternary operator) mean in objective-c? What does this line of code mean? The `?` and `:` confuse me.
- Modified
- 7 Jan at 08:45
Is the ^ operator really the XOR operator in C#?
Is the ^ operator really the XOR operator in C#? I read that the `^` operator is the logical XOR operator in C#, but I also thought it was the "power of" operator. What is the explanation?
What is the instanceof operator in JavaScript?
What is the instanceof operator in JavaScript? The `instanceof` keyword in JavaScript can be quite confusing when it is first encountered, as people tend to think that JavaScript is not an object-orie...
- Modified
- 10 Apr at 20:46
Python's 'in' operator equivalent to C#
Python's 'in' operator equivalent to C# With Python, I can use 'in' operator for set operation as follows : What's the equivalent in C#?
What operator is <> in VBA
What operator is in VBA I was studying some [vba](/questions/tagged/vba) code and came across this: I can't figure out what operator this is, any help would be appreciated.
Is there a C# case insensitive equals operator?
Is there a C# case insensitive equals operator? I know that the following is case sensitive: So is there an operator which will compare two strings in an insensitive manner?
- Modified
- 7 Apr at 02:21
What needs to be overridden in a struct to ensure equality operates properly?
What needs to be overridden in a struct to ensure equality operates properly? As the title says: do I need to override the `==` operator? how about the `.Equals()` method? Anything I'm missing?
- Modified
- 16 Jan at 15:57