using System.Collections.Generic;
using System.Collections.Specialized;
public static void Main()
List<Dictionary<string, string>> dictionaryOfWords = new List<Dictionary<string, string>>();
Dictionary<string, string> excited = new Dictionary<string, string>();
excited.Add("word", "excited");
excited.Add("definition", "having, showing, or characterized by a heightened state of energy, enthusiasm, eagerness, expressing spirit");
excited.Add("part of speech", "adjective");
excited.Add("example sentence", "I am excited to learn how to program computers");
dictionaryOfWords.Add(excited);
Dictionary<string, string> Pistol = new Dictionary<string, string>();
Pistol.Add("word", "Pistol");
Pistol.Add("definition", "A group of combined mechanisms that fire projectiles");
Pistol.Add("part of speech", "noun");
Pistol.Add("example sentence", "I am excited to shoot my pistol later today");
dictionaryOfWords.Add(Pistol);
Dictionary<string, string> computers = new Dictionary<string, string>();
computers.Add("word", "Computer");
computers.Add("definition", "A electronic machine used for exchanging, resourcing and referencing information on and offline");
computers.Add("part of speech", "noun");
computers.Add("example sentence", "I am excited to use my computer");
dictionaryOfWords.Add(computers);
Dictionary<string, string> Mobile = new Dictionary<string, string>();
computers.Add("electronics", "Mobile");
computers.Add("device", "A cellular phone");
computers.Add("component", "noun");
computers.Add("example sentences", "I love playing games ln my mobile");
Console.WriteLine("dictionaryOfWords");
foreach (Dictionary<string, string> list in dictionaryOfWords)
Console.WriteLine("------");
foreach (KeyValuePair<string, string> word in list)
Console.WriteLine($"{word.Key}: {word.Value} ");
dictionaryOfWords.Add(Mobile);
foreach (Dictionary<string, string> list in dictionaryOfWords)
Console.WriteLine("Dictionary");
foreach (KeyValuePair<string, string> word in list)
Console.WriteLine($"{word.Key}: {word.Value} ");