C# Programming Tutorial
This blog serves as the main index for our complete tutorial on programming in Visual C#. You'll find links to all of the articles, videos and files that you'll need to follow the tutorial.

Posted by Andrew Gould on 31 October 2014

You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

C# Programming Tutorial

This set of tutorials introduces you to programming in Microsoft's Visual C# language.  From this page you can find links to all of the resources you'll need to follow the tutorial including written blogs, training videos and files that you can download to follow along.

We'll be adding more links to this page as we produce more parts of the tutorial series so keep checking back to see what's new!

Part 1 - Installing and Configuring Visual Studio 2013 Express Edition

Before you can get started with writing C# code you'll need to install Microsoft Visual Studio. This tutorial shows you how to get started, including how to obtain a free edition of Visual Studio 2013 Express.

You can watch the video here.

Part 2 - Working with Projects and Solutions

Visual Studio is a large and complex application; this tutorial shows you the basic skills you'll need to use it effectively.

You can watch the video here.

Part 3 - Drawing Windows Forms

For this tutorial series a Windows Forms application is a good compromise between something which looks appealing and isn't too difficult to write code for. This tutorial explains how to draw a simple Windows form.

You can watch the video here.

You can download the files for this tutorial here.

Part 4 - Writing Basic C# Code

This tutorial explains some of the fundamental elements of the C# language and gets you writing some simple code to handle the click events of some buttons.

You can watch the video here.

You can download the files for this tutorial here.

Part 5 - Variables, Data Types and Conversions

Learning how to work with variables and data types is essential to becoming a C# programmer. This tutorial shows you how.

You can watch the video here.

You can download the files for this tutorial here.

Part 6 - If Statements and Conditional Operators

An if statement allows your programs to perform different actions based on whether conditions have been met. This tutorial explains how to write various forms of the if statement.

You can watch the video here.

You can download the files for this tutorial here.

Part 7 - Writing Methods

A method is one of the basic building blocks of a C# application. In this tutorial you'll learn how to create them.

You can watch the video here.

You can download the files for this tutorial here.

Part 8 - Switch Statements

This tutorial shows you how to write switch statements in C#.

You can watch the video here.

You can download the files for this tutorial here.

Part 9 - While Loops and Do Loops

While loops allow your code to test for a condition and continue repeating instructions while this condition is met. This tutorial explains how to add while loops to your code.

You can watch the video here.

You can download the files for this tutorial here.

Part 10 - For Loops

For loops are another way to repeat a set of instructions based on a condition. This tutorial explains how they work and how to use them in a practical context in your code.

You can watch the video here.

You can download the files for this tutorial here.

Part 11 - Foreach Loops

The Foreach statement in C# allows you to loop over all of the items in a collection. This tutorial shows you how useful that can be in an object-oriented programming language!

You can watch the video here.

You can download the files for this tutorial here.

Part 12 - Arrays

You can think of an array as a single variable which has multiple compartments to store values. This tutorial explains how they work in C#.

You can watch the video here.

You can download the files for this tutorial here.

Part 13 - Lists

Lists are like a more flexible version of arrays. The big advantage of using lists is that they increase in size dynamically and this tutorial shows you how to use them.

You can watch the video here.

You can download the files for this tutorial here.

Part 14 - Exceptions and Error Handling

Lots of things can go wrong when your code is running! This tutorial explains how to write error-handling code to tell your program what to do when things go wrong.

You can watch the video here.

You can download the files for this tutorial here.

This blog has 0 threads Add post