Until now,we were making Console Applications (output coming up on the black console window). Now let’s move ahead and explore WPF (Windows presentation Foundation).
Create a project and you can see multiple files created by Visual Studio itself. You can see the file list in Solution Explorer.
In addition to C#, we will need to learn some XAML here. XAML is a markup language something similar to HTML. We will go to that later.
You will have the following files in addition to other files
MainWindow.xaml (This is your interface which will have many wpf controls)
MainWindow.xaml.cs (This is where your code should be)
Now you write your code.