BasicAggregateOperators.Program.MaxAndMin C# (CSharp) Method

MaxAndMin() private static method

private static MaxAndMin ( ) : void
return void
        private static void MaxAndMin()
        {
            Demo.DisplayHeader("The Max and Min operators");

            Observable.Range(1, 5)
                .Max()
                .SubscribeConsole("Max");
            Observable.Range(1, 5)
               .Min()
               .SubscribeConsole("Min");
        }