gönnyd
Switch Expressions
Im trying to convert different numbers in a switch expression while switching over a Type and noticed a strange behavior, that when I do an int.Parse(...) Im actually getting a double out of the function, see my example here: https://dotnetfiddle.net/QrgZqP why is this designed this way?
17 replies