Beispiel #1
0
        static void Main(string[] args)
        {
            Fan fan = new Fan();

            Console.WriteLine(fan.state);

            fan.PullChain();

            Console.WriteLine(fan.state);

            fan.PullChain();

            Console.WriteLine(fan.state);

            fan.PullChain();


            Console.WriteLine(fan.state);

            fan.PullChain();

            Console.WriteLine(fan.state);
        }