Skip to content

Instantly share code, notes, and snippets.

@peyangu

peyangu/Program.cs

Created Apr 11, 2017
Embed
What would you like to do?
LINQ説明用Program.cs
static void Main(string[] args)
{
List<Person> personList = new List<Person>();
personList.Add(new Person() { Name = "ほげほげ太郎", Age = 20 });
personList.Add(new Person() { Name = "ほげほげ太郎", Age = 21 });
personList.Add(new Person() { Name = "はげはげ太郎", Age = 45 });
personList.Add(new Person() { Name = "しーしゃーぷ", Age = 32 });
personList.Add(new Person() { Name = "しーしぇぱーど", Age = 26 });
personList.Add(new Person() { Name = "とぅーびー", Age = 15 });
personList.Add(new Person() { Name = "えーとぅー", Age = 69 });
personList.Add(new Person() { Name = "ないんず", Age = 1000 });
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.