Difference between C# and Java’s ternary operator (? :)
Looking through the C# 5 Language Specification section 7.14: Conditional Operator we can see the following: If x has type X and y has type Y then If an implicit conversion (§6.1) exists from X to Y, but not from Y to X, then Y is the type of the conditional expression. If an implicit … Read more