WPF App Project를 생성하면 App.xaml과 MainWindow.xaml 이 기본으로 생성된다. App 클래스는 Application을 상속받은 것으로 프로그램의 시작과 종료를 담당한다. MainWindow는 화면에 보이는 메인 UI다.
App.xaml의 StartupUri 속성에 MainWindow.xaml이 명시되어 있기 때문에 프로그램 실행시 메인 UI가 보이게 된다.