void TestR3() { "Demonstrating Requirement #3".title(); Write("\n --- show orginal database ---"); DBElement <int, string> elem2 = new DBElement <int, string>("Darth Vader", "element"); elem2.payload = "The Empire strikes back!"; dbInt.insert(2, elem2); dbInt.showDB(); WriteLine(); Write("\n --- add a new key/value pair ---"); DBElement <int, string> elem3 = new DBElement <int, string>("Luke Skywalker", "element"); elem3.children.AddRange(new List <int> { 1, 5, 23 }); elem3.payload = "X-Wing fighter in swamp - Oh oh!"; dbInt.insert(3, elem3); dbInt.showDB(); WriteLine(); Write("\n --- delete key/value pair where key=1"); dbInt.delete(1); dbInt.showDB(); WriteLine(); }