Updated Unity to the latest version. It now uses C# 8.0, which is a nice improvement over C# 7.
One aspect of C# where I wondered why they didn't do it right, but that they took from C++, was the switch statement. I've always found the switch statement clunky, and was surprised they left the syntax the same.
Behold, C# 8.0 introduced a switch expression which is a switch statement done right for the common case of (among other things) assigning a value based on a variable.
Here's a switch statement as it was written in C# 7.
and here's the same functionality with a swi