Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            var chatMonitor = new ProfanityCleaner();
            Console.WriteLine("gosh darn it I hate those green things. yuck \n\n");

            Console.WriteLine(chatMonitor.Clean("gosh darn it I hate those green things. yuck"));
            Console.ReadLine();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            ProfanityCleaner cleaner = new ProfanityCleaner();

            string cleanedWord = cleaner.Clean("darn");

            Debug.Assert(cleanedWord == "d**n");
        }
Ejemplo n.º 3
0
        static void Main(string[] args)
        {
            var chatMonitor = new ProfanityCleaner();

            Console.WriteLine("gosh darn it I hate those green things. yuck \n\n");

            Console.WriteLine(chatMonitor.Clean("gosh darn it I hate those green things. yuck"));
            Console.ReadLine();
        }
Ejemplo n.º 4
0
        static void Main(string[] args)
        {
            ProfanityCleaner myCleaner = new ProfanityCleaner();

            Console.WriteLine("What message would you like to clean?");
            Console.WriteLine();                                                //blankline
            Console.WriteLine(myCleaner.Clean(Console.ReadLine()));
            Console.ReadLine();                                                 //pause
        }
Ejemplo n.º 5
0
        static void Main(string[] args)
        {
            ProfanityCleaner cleaner = new ProfanityCleaner();

            string cleanedWord = cleaner.Clean("darn");

            Debug.Assert(cleanedWord == "d**n");

            Console.WriteLine(cleanedWord);

            Console.ReadLine();
        }
Ejemplo n.º 6
0
 static void Main(string[] args)
 {
     ProfanityCleaner cleaner = new ProfanityCleaner();
     string cleanedWord = cleaner.Clean("darn")
 }
Ejemplo n.º 7
0
 static void Main(string[] args)
 {
     ProfanityCleaner cleaner     = new ProfanityCleaner();
     string           cleanedWord = cleaner.Clean("darn")
 }