Created
December 5, 2013 15:18
-
-
Save tsubakimoto/7807100 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class Person | |
{ | |
public string Name { get; set; } | |
public int Age { get; set; } | |
} | |
private void Method() | |
{ | |
Person me = new Person() { Name = "tsubaki", Age = 26 }; | |
Console.Write("My name is {0}. I'm {1}.", me.Name, me.Age); // My name is tsubaki. I'm 26. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment