Using Visual Studio and C# we will build a Universal Windows Platform application that generates numbers from the Fibonacci sequence.
Info
In mathematics, the Fibonacci numbers form a sequence defined recursively as follows: start with 0 and 1, and each subsequent term is the sum of the previous two. The first Fibonacci numbers are: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, …
Launch Visual Studio. Create a new project via File > New > Project or use the shortcut Ctrl + Shift + N. In the dialog choose: Visual C# > Windows Universal > Blank App (Universal Windows). Name the project Fibonacci 1.0. From Solution Explorer open MainPage.xaml and MainPage.xaml.cs. If you don't see Solution Explorer, open it from View > Solution Explorer or use Ctrl + W, S.
MainPage.xaml
The MainPage.xaml file contains the user interface markup written in XAML. Copy (Ctrl+C) and paste (Ctrl+V) the fragment below into your application.