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 Car { public string model; public string color; public int year; public Car(string model, string color, int year) { this.model = model; this.color = color; this.year = year; } } class Program { static void Main(string[] args) { Car myCar = new Car("Mustang", "Red", 1969); Console.WriteLine(myCar.color + " " + myCar.year + " " + myCar.model); } } }
Red 1969 Mustang