← Back to Question List
C# Code Walkthrough #10
Chained Compound Assignments
📄 Code
Read carefully — what does this print?1int x = 10;2x += 5;3x *= 2;4x -= 3;5Console.WriteLine(x);
1int x = 10;2x += 5;3x *= 2;4x -= 3;5Console.WriteLine(x);