示例#1
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass            workWithConsoleClass            = new WorkWithConsoleClass();
            WorkWithRegularExpressionsClass workWithRegularExpressionsClass = new WorkWithRegularExpressionsClass();

            workWithConsoleClass.Output(workWithRegularExpressionsClass.ReplaceHtmlTags(workWithConsoleClass.Input()));
        }
示例#2
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass        workWithConsoleClass        = new WorkWithConsoleClass();
            IsNumberSimpleFunctionClass isNumberSimpleFunctionClass = new IsNumberSimpleFunctionClass();

            workWithConsoleClass.Output(isNumberSimpleFunctionClass.IsNumberSimpleCheck(workWithConsoleClass.Input()));
        }
示例#3
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            WorkWithStringClass  workWithStringClass  = new WorkWithStringClass();

            workWithConsoleClass.Output(workWithStringClass.CheckingOfBrackets(workWithConsoleClass.Input()));
        }
示例#4
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            SquareCreatingClass  squareCreatingClass  = new SquareCreatingClass();

            workWithConsoleClass.Output(squareCreatingClass.SquareCreating(workWithConsoleClass.Input()));
        }
示例#5
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass   workWithConsoleClass   = new WorkWithConsoleClass();
            FactorialFunctionClass factorialFunctionClass = new FactorialFunctionClass();

            workWithConsoleClass.Output(factorialFunctionClass.FactorialCalculate(workWithConsoleClass.Input()));
        }
示例#6
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            WorkWithStringClass  workWithStringClass  = new WorkWithStringClass();

            workWithConsoleClass.Output(workWithStringClass.SelectUniqueWords(workWithConsoleClass.Input()));
        }
示例#7
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            SumFunctionClass     sumFunctionClass     = new SumFunctionClass();

            workWithConsoleClass.Output(sumFunctionClass.Sum(1000));
        }
示例#8
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            CreateTriangleClass  сreateTriangleClass  = new CreateTriangleClass();

            workWithConsoleClass.Output(сreateTriangleClass.TriangleCreating(workWithConsoleClass.Input()));
        }
示例#9
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            WorkWithStringClass  workWithStringClass  = new WorkWithStringClass();

            workWithConsoleClass.Output(workWithStringClass.CalculateAverageLength(workWithConsoleClass.Input()));
        }
示例#10
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass            workWithConsoleClass            = new WorkWithConsoleClass();
            WorkWithRegularExpressionsClass workWithRegularExpressionsClass = new WorkWithRegularExpressionsClass();

            workWithConsoleClass.Output(workWithRegularExpressionsClass.IsDateContains(workWithConsoleClass.Input()));
        }
示例#11
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            CreateXmasTreeClass  createXmasTreeClass  = new CreateXmasTreeClass();

            workWithConsoleClass.Output(createXmasTreeClass.XmasTreeCreating(workWithConsoleClass.Input()));
        }
示例#12
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            FunctionClass        functionClass        = new FunctionClass();

            workWithConsoleClass.Output(functionClass.StringCreation(workWithConsoleClass.Input()));
        }
示例#13
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();
            WorkWithStringClass  workWithStringClass  = new WorkWithStringClass();

            workWithConsoleClass.Output(workWithStringClass.IsPositiveInt(workWithConsoleClass.Input()));
        }
示例#14
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass   workWithConsoleClass   = new WorkWithConsoleClass();
            WorkWithRectangleClass workWithRectangleClass = new WorkWithRectangleClass();

            workWithConsoleClass.Output(workWithRectangleClass.RectangleAreaCalculation(workWithConsoleClass.Input()));
        }
示例#15
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();

            TriangleClass triangle = new TriangleClass(workWithConsoleClass.Input());

            workWithConsoleClass.Output(triangle.GetArea(), triangle.GetPerimeter());
        }
示例#16
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();

            RoundClass round = new RoundClass(workWithConsoleClass.Input());

            workWithConsoleClass.Output(round.GetAreaOfRound(), round.GetLengthOfRound());
        }
示例#17
0
        public static void Main(string[] args)
        {
            WorkWithConsoleClass workWithConsoleClass = new WorkWithConsoleClass();

            User user = new User(workWithConsoleClass.InputUserData());

            workWithConsoleClass.Output(user.ToString());
        }