How can I convert this code to csharp code, seems to be simple but little confused.

Dim Temperature As Integer = 30   

   Select Case Temperature
                Case 31
                    Console.WriteLine("stay in bed")
                Case 32
                    Console.WriteLine("play the lottery")
                Case Else
                    Console.WriteLine("Just read the newspaper")
    End Select

how silly of me to write like this

     int Temperature= 30;

                switch (Temperature)
                    case 31:
                        Console.WriteLine("stay in bed");
                    case 32:
                        Console.WriteLine("play the lottery");
                        Console.WriteLine("Just read the newspaper");

see, what's wrong? , just for fun find it :-) , LOL...
This question has already been answered. Start a new discussion instead.