The different Wise Owl courses for C# explained

Our Visual C# courses show you how to:

  • Program in C# per se, without worrying about the user interface
  • Build Windows Forms applications
  • Create WPF (Windows Presentation Foundation) systems

Here are some details for each of these courses!

If you're looking for a pure C# course, we'd recommend the first of the 3 courses listed below.

Visual C# Programming

We run two levels of C# training.  Our two-day introduction to C# course will teach you the basics of Visual C# programming, covering:

  • Creating variables
  • Writing conditions
  • Using arrays
  • Looping
  • Using lists
  • Basic read/write properties

Here's an example of the sort of thing you'll be able to write on this course:

private void btnShowAge_Click(object sender, EventArgs e)


//read two dates to compare into variables

DateTime DateOfBirth = this.dtpDateOfBirth.Value;

DateTime DateToday = DateTime.Today;

//work out the user's age

TimeSpan span;

span = DateToday - DateOfBirth;

Int64 Age = Convert.ToInt16(span.TotalDays/365.25);

//display it

MessageBox.Show("You are " + Age.ToString() + " years old");


In addition, we also run a three-day advanced C# course, concentrating on classes, interfaces and other advanced programming concepts.  If you're wondering what a class is, here's an example:

class Customer


// fields (private to this class)

private string firstName;

private string lastName;

// property giving first name

public string FirstName {

get { return firstName; }

set { firstName = value; }


// property giving last name

public string LastName


get { return lastName; }

set { lastName = value; }



A quick introductory course might include creating basic classes within the course contents (as always, much depends on the speed and enthusiasm of your fellow delegates, of whom there will be at most 5 people).

Visual C# for WPF

WPF has replaced (at least as far as Microsoft are concerned) WinForms as the new way to create forms-based systems in .NET.  Here's a sample of some C# code that you'll learn to write on our 3-day WPF course for C#:

private void btnOrder_Click(object sender, RoutedEventArgs e)


// get the name of the drink

string DrinkName = txtDrink.Text;


// if no drink ordered, display message

if (DrinkName.Length == 0)


MessageBox.Show("No drink ordered");





// how many sugars

int Sugars;

// try converting input sugars to integer



Sugars = Convert.ToInt32(txtSugars.Text);




Sugars = -1;


// if no sugars ordered, display message

if (Sugars == -1)


MessageBox.Show("You haven't ordered any sugars");




// finally, display order

MessageBox.Show("You have ordered a " +

DrinkName.ToUpper() + " with " +

Sugars.ToString() + " sugars",

"Order confirmation");



You'll also learn how to animate a bouncing ball!

Windows Forms for C#

For those with less time (or budget) on their hands, you might prefer to learn Windows Forms (here are some slightly biased thoughts on the differences between WPF and Windows Forms).  Our 3-day WinForms for C# course will teach you how to write code including the following:

private void btnApply_Click(object sender, EventArgs e)



int AgeEntered = Convert.ToInt32(txtAge.Text);


// show age-appropriate message

if (AgeEntered < (int)="" ageband.child)="">

MessageBox.Show("Please join our youth club");

} else {

if (AgeEntered < (int)="" ageband.young)="">

MessageBox.Show("Please join our young people's club");

} else {

if (AgeEntered < (int)="" ageband.middleaged)="">

MessageBox.Show("Please join our swingers' club");

} else {

if (AgeEntered < (int)="" ageband.seniorcitizen)="">

MessageBox.Show("Please join our senior citizens' club");

} else {

MessageBox.Show("Should you be doing this?");



You'll also, of course, learn how to create and code forms and menus!

This page has 0 threads Add post