Created
April 11, 2017 12:52
-
-
Save peyangu/4867e35cf916cfe43d1fbfa718f225a0 to your computer and use it in GitHub Desktop.
Takeメソッド
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 personTake = personList.Take(3); | |
foreach (Person p in personTake) | |
{ | |
Console.WriteLine(p.Name + " : " + p.Age); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment