public void BetterFormattingTest()
        {
            var ft = new BetterFormattedText("this is a brave new world");

            ft.GetRange(10, 15).Capitalize = true;

            Console.WriteLine(ft);
        }
Esempio n. 2
0
        static void Main(string[] args)
        {
            var ft = new FormattedText("This is a brave new world");

            ft.Capitalize(10, 15);
            WriteLine(ft);

            var bft = new BetterFormattedText("This is a brave new world");

            bft.GetRange(10, 15).Capitalize = true;
            WriteLine(bft);
        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            // TEXT FORMATTING
            var ft = new FormattedText("This is a brave new world");

            ft.Capitalize(10, 15);
            Console.WriteLine(ft);

            var bft = new BetterFormattedText("This is a brave new world");

            bft.GetRange(10, 15).Capitalize = true;
            Console.WriteLine(bft);

            Console.ReadLine();
        }