Skip to content

screenshot of Visual Studio suggestion for an error

Practice debugging and troubleshooting. Solving code problems can be a challenge, especially when the errors aren't obvious. With a bit of debugging practice, though, you can learn to quickly identify and fix common errors. One of the ways you can practice your troubleshooting and critical thinking skills is to take an application that is broken, ...continue reading "Debugging Code: Poem Generator (C#)"

Basic UWP: Virtual Pet Setup

Learn basic UWP skills. This walk through shows how to start a simple UWP project, and covers some of the fundamental elements you might need in an application. We'll use a 'Virtual Pet' setup as our example topic. TextBlock and TextBox Buttons and event handlers Change an element's color New Project Launch Visual Studio and ...continue reading "Basic UWP: Virtual Pet Setup"

One button to control it all! Create a simple proof-of-concept UWP application with a dynamic button. Navigate linear content stored in an array with one 'Next' button. After all content has been shown, button text changes from 'Next' to 'Start Over'. Notes This post is an update of the Dynamic Button (Windows Form). This tutorial ...continue reading "Dynamic Button UWP: Navigate Array Content"

Random words, an array, and conditional statements. Create a word guessing game that asks a player to guess a random word. As we build the C# console application, we'll discuss some fundamental programming concepts. We'll build upon the code we started in . (If you haven't read it yet, you might want to start there!) ...continue reading "Word Guessing Game: C# Console Application"

Numeric Guessing Game

Type conversion, random numbers, and conditional statements. We'll create a game where the player will try to guess a random number. Fundamental programming concepts will be covered as we build the C# console application. Numeric Guessing Game Framework The framework for our game will have two classes: Program and Game. A method (Play) in the ...continue reading "Numeric Guessing Game: C# Console Application"

Arrays and loops can make our Madlib code more organized. This is part three in a series to create iterative versions of a Madlib in C#. If you haven't read through , start there! Focusing primarily on improving our code, we'll add two arrays and a loop. By using an array we can condense the ...continue reading "Simple C# Madlib (Part Three)"

External data: using text files to store data. We will create a console application that will let us display text from, and save data to, an external data file. After we walk through how to read in data and write it back out, there is an example of how you could build a simple menu ...continue reading "Reading and Writing External Data (C# Console Application)"