Пример #1
0
        public void ConcatString()
        {
            StringConcat sc = new StringConcat();

            String[] str = new String[2];
            str = sc.GetString();
            String s1 = str[0];
            String s2 = str[1];

            sc.AppendString(s1, s2);
            sc.PrependString(s1, s2);
            sc.InsertString(s1, s2);
        }
Пример #2
0
        static void Main(string[] args)
        {
            /*
             * SumOfNumbers s_num = new SumOfNumbers();
             * int sum = s_num.FindSum();
             * Console.WriteLine("Sum of 10 numbers is: {0}", sum);
             */

            /*
             * DaysOfWeek display = new DaysOfWeek();
             * display.DisplayDay();
             */

            /*
             * AsteriskTriangle triangle = new AsteriskTriangle();
             * triangle.PrintTriangle();
             */

            /*
             * FibonacciSeries fb = new FibonacciSeries();
             * fb.PrintSeries();
             */

            /*
             * ArrayDimension arr = new ArrayDimension();
             * arr.ArrayConversion();
             */

            /*/
             * StringArray str = new StringArray();
             * str.StringTraverse();
             */

            /*
             * ArrayReversal rev = new ArrayReversal();
             * rev.ReverseArray();
             */

            /*
             * MaxMinArray my_arr = new MaxMinArray();
             * my_arr.ArrayMaxMin();
             */

            /*
             * StringTrim str_trim = new StringTrim();
             * str_trim.StringTrimming();
             */

            /*
             * NoSpaceString ns = new NoSpaceString();
             * ns.RemoveManually();
             */

            /*
             * StringReversal str_rev = new StringReversal();
             * str_rev.StringReverse();
             */

            StringConcat sc = new StringConcat();

            sc.ConcatString();
        }