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 { struct Point { public int X; public int Y; } class Program { static void Main(string[] args) { Point p1 = new Point(); p1.X = 10; p1.Y = 20; Point p2 = p1; p2.X = 50; Console.WriteLine("p1: " + p1.X + ", " + p1.Y); Console.WriteLine("p2: " + p2.X + ", " + p2.Y); } } }
p1: 10, 20
p2: 50, 20