IGrouping<TKey, TElement>.Key

IGrouping<TKey, TElement>のKeyで、グループごとのキーを取得出来る。

https://learn.microsoft.com/ja-jp/dotnet/api/system.linq.igrouping-2.key?view=netframework-3.5

MainClass.csで、

とすると、

キーがわかる。
キーがわかる。

キーがわかる。

Sample/dotnet/IGrouping_TKey_TElement/Key/src/IGrouping_TKey_TElement at master · bg1bgst333/Sample · GitHub