Created
June 1, 2016 14:37
-
-
Save wheeliechamp/66f04f4f8505c51b54484cb125c9633c 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
using System; | |
using System.Linq; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
string[] text = {"ああ山","いい山","うう山","ええ山","おお山"}; | |
var linqAll = text.All(item => item.EndsWith("山")); | |
Console.WriteLine(linqAll); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment