Skip to content

Instantly share code, notes, and snippets.

@peyangu
Created April 15, 2017 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peyangu/98355c398720fa45a542dd1f0f24f585 to your computer and use it in GitHub Desktop.
Save peyangu/98355c398720fa45a542dd1f0f24f585 to your computer and use it in GitHub Desktop.
Containsメソッド(True)
var personContains = personList.Select(p => p.Name).Contains("とぅーびー");
//var personContains = personList.Select(p => p.Name).Contains("しー");
Console.WriteLine(personContains);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment