Choosing C# training: WPF, ASP.NET, WinForms or pure programming

Our Visual C# courses show you how to:

  • Create data-driven ASP.NET websites (webforms)
  • Creating ASP.NET websites (MVC)
  • Build Windows Forms applications
  • Create WPF (Windows Presentation Foundation) systems

Here are some details for each of these courses!

Our Visual C# training page gives much more information about (and also more links to) our C Sharp training.

Visual C# for WPF applcations

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!

ASP.NET Webforms and/or MVC for Visual C#

You can see more details of our ASP.NET training here, which includes help on whether you should be choosing ASP.NET webforms or ASP.NET MVC.

This page has 0 threads Add post