示例#1
0
        public static void Main()
        {
            string input = Console.ReadLine();
            LeetspeakTranslator myTranslate = new LeetspeakTranslator();

            Console.WriteLine(myTranslate.Translate(input));
            Main();
        }
示例#2
0
        public static void Main()
        {
            Console.WriteLine("3n73r w0rdz n00b");
            string userinput = Console.ReadLine();
            LeetspeakTranslator Leetspeak = new LeetspeakTranslator();

            Console.WriteLine(Leetspeak.Translate(userinput));
        }
示例#3
0
        public static void Main()
        {
            string userInput = GetUserInput();
            LeetspeakTranslator translator = new LeetspeakTranslator();
            string convertedString         = translator.Translate(userInput);

            Console.WriteLine(convertedString);
        }
示例#4
0
        public static void Main(string[] args)
        {
            Console.WriteLine("Enter the string");
            string userInputString = Console.ReadLine();

            LeetspeakTranslator newLeetspeak = new LeetspeakTranslator();

            Console.WriteLine(newLeetspeak.userInput(userInputString));
        }
示例#5
0
        public static void Main()
        {
            Console.WriteLine("Enter your Sentance");
            string userInput = Console.ReadLine();
            LeetspeakTranslator Leetspeak = new LeetspeakTranslator();
            string eThere = LeetSpeak.IsEthere(userInput);
            string oThere = LeetSpeak.IsOthere(eThere);
            string iThere = LeetSpeak.IsIThere(oThere);
            string tThere = LeetSpeak.IsTThere(iThere);
            string sThere = LeetSpeak.IsStartsWithS(tThere);

            Console.WriteLine("output: " + sThere);
        }