
master WPF and XAML by building ten applications in C#, from calculators and games to canvas drawing, with beginner-friendly explanations of arrays, conditions, loops, and functions.
Download Visual Studio Community, select required language workloads, install, and create a new C# WPF project to start building WPF applications.
Define a program as a set of instructions that tell the computer what to do, using operations the computer can perform to produce input, processing, and output.
Build your first application by creating a C# console project in Visual Studio. Then print Hello world with Console.WriteLine and run it to display the message.
Explains how variables are defined with a data type, why typing helps prevent errors, and introduces common data types such as integer, short, long, double, character, string, and boolean.
Define and manipulate variables in C# by declaring int, double, char, string, and boolean types, assigning values, performing operations, printing results, and noting one-line declarations and unused variable warnings.
Master boolean expressions in C# by applying negation (!), and (&&), and or (||) operators to flip values and combine conditions with practical examples and boolean variable testing.
Understand how the if statement controls code execution by evaluating boolean conditions in parentheses, executing braces when true, and using else if and else to handle other cases.
Learn the if condition through a ten and one example, covering equal, not equal, greater than, else if, else, and string concatenation in C#.
Use a switch statement to test a variable against multiple cases, each with a constant or literal of the same data type, executing until a break or the default case.
Demonstrate using a switch statement in C# to map a variable to cases with break, default handling, and a comparison to if-else, including result assignment and console output.
Explore how arrays store multiple variables of the same type as a single collection, declare and initialize them with braces, access by zero-based index, and use length to count elements.
Define and initialize numeric and string arrays, access elements by index (0, 2), and print results with console.writeLine. Show that arrays work for any data type.
Discover how while, for, and do-while loops manage repeated instructions, break out of cycles when needed, and iterate over arrays or data collections.
Explore for loops with initialization, condition, and final expression, showing increment and decrement and console output. Loop arrays by index, print values, and understand local versus global scope.
Learn how to use the while loop in C# with a temp variable and a simple condition, then increment and loop through array using an index, with break to exit.
Explore the do-while loop in C#, showing how the body executes before the condition and increments i, resulting in prints like 11, and compare it to a while loop.
Explore defining and calling functions in C# with public static, return values, and parameters, including int, void, and bool examples like squared and bigger, demonstrated with console output.
understand why functions matter: boost reusability by invoking the same function multiple times and enable abstraction by knowing the name, what the function does, its arguments, and its return value.
Create your first calculator application by reading two numbers from user input, parsing strings to integers, and displaying the results of addition, subtraction, division, and multiplication.
Build the calculator GUI in a new WPF app by drafting MainWindow.xaml with text boxes, labels, and a compute button, then set the title, margins, and alignment.
Implement a calculator in a WPF app by wiring a button click event, parsing input text to integers, and displaying plus, minus, divide, and multiplication results in labels.
Build a number guessing game in a WPF app by handling key down events, parsing input, generating a random 0–100, tracking lives, updating labels, and signaling win or lose.
Design the todo list GUI in WPF by dragging a list box and text box from the toolbox. Implement add and delete buttons with enablement rules.
Develop a functional todo list by wiring key down, add, and delete events to a list box, controlling button states and validating input to prevent empty tasks.
Implement a single button click handler to append the button's content to the text box display, parse the input left-to-right and perform plus, minus, multiply, and divide, updating the result.
Design a graphical user interface for a text editor by building a top menu with file open, save, and close items, plus a rich text box for editing.
Implement calendar functionality by saving and loading daily events to files using stream reader and writer, keyed by the selected date as the file name, and handle missing files gracefully.
Finish the calendar app by handling missing files with try-catch, loading and saving date-specific events, and enabling deletion to persist changes across dates.
Learn to implement WPF canvas drawing by clicking to set a start point and moving the mouse to draw a line to the current position, toggling on each click.
Draw a graph on a canvas by clicking points, connecting them with lines, and displaying x and y axes with value labels.
Handle mouse down events in a WPF canvas to draw lines between successive clicks and update the graph, while adding x and y coordinate labels for the axes.
Add a label to the grid and position it with a computed margin using thickness, to display x and y coordinates on a live WPF graph.
Build a WPF clicking game on a canvas where clicking a rectangle increments the score, spawns a new one at a random position, with a 20-second timer and score/time displays.
Define a global score and time, place a 50×50 black rectangle at a random canvas position with a mousedown handler, then remove it, update the score, and spawn a rectangle.
Create a tic tac toe graphical user interface with a 3x3 grid of border tiles containing canvases. Handle mouse down to draw a cross or circle in each tile.
Do you want to start with WPF and XAML programming?
Then this course is designed for you. In this course, you will create 10 applications using WPF,XAML and C# programming language. You will also learn the important concepts of programming. After finishing the course you should be able to create simple applications and have a strong foundation in programming. I try to explain how all the important concepts work and how you can use them in your C# code.
I know you don't have time for long and boring lectures. That is why I try to be as engaging as possible. I also go directly to the point.
Practice oppurtunities:
Through out the course are 4 tests on which you can practice your knowledge. Also during the "CODE" videos I am tring to keep you engaged by asking questions like "What will be the result of this?".
What will I learn?
Firstly, you will learn programming fundamentals. Because without the foundation you cannot move on and create applications.
what is program
What is programming
variables
data types
if and switch statements
arrays
loops (for, while, do-while)
functions
that is why the knowledge of programming fundamentals is optional.
Then you will use the gained knowledge and build 10 WPF applications:
Simple Calculator
Guess Number Game
TODO list
Advanced Calculator
Text Editor
Calendar
Canvas
Graph Designer
Clicking game
Tick tack toe game
Who should take this course?
Anyone who wants to learn programming fundamentals in C#
Anyone who wants to create WPF & XAML applications