Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Access Modifiers
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Person { private string name; public string Name { get { return this.name; } set { this.name = value; } } public void DisplayName() { Console.WriteLine("{0}", name); } } public class Program { public static void Main(string[] args) { Person person = new Person(); person.Name = "Brian"; person.DisplayName(); } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
2.2 gz
My_Response
123
Date Diff
Aufgabe 1 J.S.
Leapyear
Decimal Test2
123.0
Lazy exception caching
rathit
Please log in to post a comment.