Instantly share code, notes, and snippets.

Embed
What would you like to do?
yield サンプル
void Main()
{
var hoge = GetName();
hoge.Dump();
}
IEnumerable<string> GetName()
{
yield return "hoge";
yield return "huga";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment