private static void AddAttribute() { string name = Console.ReadLine(); string value = Console.ReadLine(); Element element = Search(); xml.AddAttribute(name, value, element); }