次のデータを含む辞書があります。
Key Value
1 Introduction
1.1 General
1.1.1 Scope
1.2 Expectations
2 Background
2.1 Early Development
...
私がやりたいのは、次のように、リストスタイルのキーに基づいて連結された値で新しいリストを作成する (または配列に追加する) 方法を C# で見つけることです。
Key Value Concatenation
1 Introduction Introduction
1.1 General Introduction - General
1.1.1 Scope Indroduction - General - Scope
1.2 Expectations Introduction - Expectations
2 Background Background
2.1 Early Development Background - Early Development
...
キーのサブレベルの数は決まっていませんが、常に数値形式になります。何かご意見は?