← Back to Question List
C# Code Walkthrough #23
Where the Cast Goes Changes Division
📄 Code
Read carefully — what does this print?1double a = (double)(1 / 2);2double b = (double)1 / 2;3Console.WriteLine($"{a} {b}");