Ejemplo n.º 1
0
    public static void Main(string[] args)
    {
        if (args.Length == 0)
        {
            Environment.Exit(0);
        }

        BigString bs = new BigString(args[0]);

        bs.Print();
    }
Ejemplo n.º 2
0
        public static void FlyweightPattern(string[] args)
        {
            if (args.Length == 0)
            {
                Console.WriteLine("please enter a number !");
                Console.ReadLine();
                System.Environment.Exit(0);
            }
            BigString bigString = new BigString(args[0]);

            bigString.Print();
            Console.ReadLine();
        }