title: How to switch view/displayed XAML file in Visual Studio
body: <p>I've been developing an windows desktop application in Visual Studio 2015, and I've been trying to figure out how to switch between different view files. Essentially when the app begins I can choose which view it is supposed to display first (i.e. MainPage.xaml), however, I have yet to find any resources that describe how to switch between the different views programmatically, say at a button click.</p>
  
  <p>I'm coming from developing an app for IPhone, and in XCode switching views programmatically seems to be the intended way of doing it. My question is how do I switch the views programmatically using C#? And also, is Visual Studio different in that I should be doing this someway else?</p>