Run ❯
Get your
own C#
server
❯
Run Code
Ctrl+Alt+R
Change Orientation
Ctrl+Alt+O
Change Theme
Ctrl+Alt+D
Go to Spaces
Ctrl+Alt+P
prog.cs
prog2.cs
using System; namespace MyApplication { class Program { static void Main(string[] args) { Person myObj = new Person(); myObj.Name = "Liam"; Console.WriteLine(myObj.Name); } } }
using System; namespace MyApplication { class Person { private string name; // field public string Name // property { get { return name; } set { name = value; } } } }
Liam