Ejemplo n.º 1
0
        //----< Remove contents from DB >------------------------------------
        void TestRemove(int key)
        {
            string str = "Removing element with key " + key.ToString();

            str.title2();
            bool success = db.remove(key);

            if (success)
            {
                "Element removed successfully".success();
            }
            else
            {
                "Key does not exist".error();
            }
            WriteLine();
        }