Created
April 11, 2017 12:29
-
-
Save peyangu/6f46b9ab5efe1a69950981a174fd4f92 to your computer and use it in GitHub Desktop.
Whereメソッド
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
var person2b = personList.Where(p => p.Name == "とぅーびー").ToList(); | |
foreach (Person p in person2b) | |
{ | |
Console.WriteLine(p.Name + " : " + p.Age); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment