Run ❯
×
Change Orientation
Change Theme, Dark/Light
using System; namespace MyApplication { class Car { string color = "red"; int maxSpeed = 200; static void Main(string[] args) { Car myObj = new Car(); Console.WriteLine(myObj.color); Console.WriteLine(myObj.maxSpeed); } } }
red
200