To install Windows on a Mac Apple provides a utility called Boot Camp. The documentation can be found at:- Apple - How to install Windows using Boot Camp.
I also found the guide How to install Windows 10 on Mac OS X using Boot Camp to be useful.
To get started type boot camp in Spotlight and run the Boot Camp Assistant.
The Start page, note the button 'Open Boot Camp Help'.
Once Windows was installed I ran the Check for Updates and installed all available updates.
Holding down the Option ⌥ key when starting the computer will boot into the Startup Manager which allows the choice to boot into OS X or Windows. The Startup Manager and setting the Startup Disk from the System preferences are documented here:- How to choose a startup disk on your Mac.
Access the Startup Disk from the System Preferences.
The Startup Disk can be changed between Mac and Windows.
When booted into Windows the Boot Camp Control Panel can be accessed from the grey diamond in the system tray. This allows for setting the startup disk.
Function Keys & Visual Studio Debugging
Visual Studio users will probably also want to alter the Function Keys so that they work as normal function keys see How to change the behavior of function keys on your Mac. Basically check the option 'Use all F1, F2, etc.keys as standard function keys' as shown below.
Additonally I would reccommend disabling the default shortcuts for the F11 & F12 keys. Uncheck the options 'Show Desktop F11' and 'Show Dashboard F12' as shown below.