public void TestMethod1() { var person = new vsosample.Person { Name = "Hoge" }; Assert.AreEqual("Hoge", person.SayName()); }
static void Main(string[] args) { var person = new Person { Name = "Matsumura" }; Console.WriteLine(person.SayName()); Console.ReadLine(); }