Can someone explain this type inference “glitch” in C# switch expression?

后端 未结 0 631
一向
一向 2021-02-18 12:52

I was messing around with C# switch expression and I encountered something quite weird.

Here is the code:

static void Main(string[] args)
{
    Console.Wri         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题