static void Main()
    {
        ByTwos ob = new ByTwos();

        for (int i = 0; i < 5; i++)
        {
            Console.WriteLine("Next value is " +
                              ob.GetNext() + " previous value is " + ob.GetPrevious());
        }
        Console.WriteLine("\nResetting");
        ob.Reset();
        for (int i = 0; i < 5; i++)
        {
            Console.WriteLine("Next value is " +
                              ob.GetNext() + " previous value is " + ob.GetPrevious());
        }

        Console.WriteLine("\nStarting at 100");
        ob.SetStart(100);
        for (int i = 0; i < 5; i++)
        {
            Console.WriteLine("Next value is " +
                              ob.GetNext() + " previous value is " + ob.GetPrevious());
        }
    }
    static void Main()
    {
        ByTwos ob = new ByTwos();

        Console.WriteLine("\nStarting at 100");
        ob.SetStart(100);

        for (int i = 0; i < 5; i++)
        {
            Console.WriteLine("Prev value is " + ob.GetPrevious());
        }
    }