Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Change Language
Go to Spaces
Ctrl+Alt+P
using System; namespace MyApplication { class Program { static void AddPoints(ref int points) { points = points + 10; Console.WriteLine("Inside the method: " + points); } static void Main(string[] args) { int score = 5; AddPoints(ref score); Console.WriteLine("After the method: " + score); } } }
Inside the method: 15
After the method: 15