Skip to content

madlib

Madlibs are fun to build! Building a madlib is a great way to learn fundamental programming concepts. The application will ask a player to enter in words, it will store those words, and then replace words in a quote, story, or other short piece of text that will be written to the console window. The ...continue reading "Simple C# Madlib (Part One)"

typewriter

Print out a message letter by letter using a for loop to move through a string, and Thread.Sleep() to pause after each character is written to the console window. using System; namespace TypewriterEffect { class Program { static void Main() { Typewrite("Your text here..."); Console.ReadKey(); } static void Typewrite(string message) { for (int i = ...continue reading "Typewriter Effect"

hello world 2.0

In this walk through we'll build an interactive Hello World application. Expanding on the simple , we'll make a more advanced version that asks the person using it for their name, and write out a personalized hello to them. We'll also review basic programming concepts along the way. Review of Basic Terms and Concepts Statement: ...continue reading "Hello World 2.0"

commenting multiple lines

Commenting multiple lines is easy with keyboard shortcuts. Multiple lines can be commented and uncommented by selecting them and clicking the comment icon, or by using the keyboard shortcut [CTRL + E, C] to comment, and [CTRL + E, U] to uncomment. (Microsoft Visual Studio Ultimate 2012 Screenshots)