示例#1
0
        public void TestKeywords()
        {
            string[] keys = { "A", "B", "C", "D" };
            var      key  = Interaction.GetKewords("\nChoose an option", keys, 3);

            Interaction.WriteLine("You chose {0}.", key);
        }