Ejemplo n.º 1
0
        static void MyStringExamples()
        {
            StringTypes myTypes = new StringTypes();

            myTypes.SampleString();
            myTypes.AddString();
            string words = myTypes.StringBuilderExample
                               ("Hello", "C Sharp", "Class");

            Console.WriteLine(words);

            StringTypes myTypes1 = new StringTypes();

            myTypes.SampleString();
            myTypes.AddString();
            string mytestwords = myTypes1.StringBuilderExample
                                     ("Hi", "Second");

            Console.WriteLine(mytestwords);
            myTypes.CharTypeExample();
            myTypes.EscapeExample();
            myTypes.PlaceholderExample();

            myTypes.ArraySample();
            myTypes.MyHouseArray();
            myTypes.MultiArraySample();
        }
Ejemplo n.º 2
0
        static void MyStringExamples()
        {
            StringTypes myTypes = new StringTypes();

            myTypes.SampleString();
            myTypes.AddString();
            string words = myTypes.StringBuilderExample
                               ("Hello", "C  Sharp", "class");

            Console.WriteLine(words);
            myTypes.charTypeExample();
            myTypes.EscapeExample();
            myTypes.PlaceHolderExample();
            myTypes.MyHouseArray();
            myTypes.MultiArraySample();
        }
Ejemplo n.º 3
0
        static void MyStringExamples()
        {
            StringTypes myTypes = new StringTypes();

            myTypes.SampleString();
            myTypes.AddString();
            string words = myTypes.StringBuilderExample("Get", "It", "On");

            Console.WriteLine(words);
            myTypes.CharTypeExample();
            myTypes.EscapeExample();
            myTypes.PlaceHolderExample();
            myTypes.ArraySample();
            myTypes.MyHouseArray();
            myTypes.MultiArraySample();
        }