public void ExtendBlockWithGreedyBraces()

in 02-Editing/05-Rearranging_code.cs [81:95]


        public void ExtendBlockWithGreedyBraces()
        {
            // 5. Place caret on outside of closing brace
            // <shortcut id="Move Statement Up">Up - Ctrl+Shift+Alt+Up</shortcut>    
            // <shortcut id="Move Statement Down">Down - Ctrl+Shift+Alt+Down</shortcut>
            //
            // Move block to include next statement
            // move up block to exclude current last statement
            if (true)
            {
                Console.WriteLine("Hello");
            }

            Console.WriteLine("World");
        }