← Back to Question List
C# Code Walkthrough #18
Passing an int by Value
📄 Code
Read carefully — what does this print?1void AddTen(int x)2{3 x += 10;4}5int value = 5;6AddTen(value);7Console.WriteLine(value);