Skip to content

Instantly share code, notes, and snippets.

@todorok1

todorok1/DictionarySample2.cs Secret

Last active Nov 3, 2020
Embed
What would you like to do?
C#のListを使ってforeach文を作るサンプル
// int型のリストを確認します。
List<int> numList = new List<int>(){8, 13, 14, 19, 26, 58};
foreach (int num in numList)
{
// なんらかの処理をするでち。
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment