Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
prog.cs
prog2.cs
using System; namespace MyApplication { class Program { static void Main(string[] args) { Car myObj = new Car(); Console.WriteLine(myObj.color); } } }
using System; namespace MyApplication { class Car { public string color = "red"; } }
red