Visual C# .NET - Contents Page

This Home and Learn computer course is an introduction to Visual C# .NET programming. It is aimed at complete beginners, and assumes that you have no programming experience whatsoever.

You don't need to buy any software for this course! You can use the free Visual Studio Community Edition from Microsoft. To see which version you need, click below:

Getting the free Visual Studio Community Edition - Which version do I need?

To work your way through our C# .NET course, simply click a link below - no need to sign up for anything!


  C# .NET: Getting Started with C#  

1. Getting Started - A C# Console Application

2. Saving your work

3. Your first line of C# code

4. How to Run your C# Programmes

5. Your First C# Windows Form

6. Adding Controls to a Form

7. Properties of a Control

8. Adding Code to a Button

9. C# Message Boxes

10. More about Message Boxes

  C# .NET: Variables  

1. String Variables in C#. NET

2. Assigning Text to a String Variable

3. Concatenation in C#

4. C# Comments

5. Numbers Variables

6. Double and Float Variables

7. Double Variables

8. Addition in C# .NET

9. Adding up with float Variables

10. Subtraction

11. Mixing Subtraction and Addition

12. Operator Precedence

13. Multiplication and Division

14. Getting Numbers from Text Boxes

15. A C# .NET Calculator - Design

16. C# .NET Calculator - The Code

17. The Plus Button

18. The Equals Button

  C# .NET: Conditional Logic  

1. IF Statements

2. Else ... If

3. Switch Statements

4. C# Operators

  C# .NET: Loops  

1. C# and For Loops

2. Loop Start and End Values

3. A Times Table Programme

4. Do loops and While Loops

5. Checking for Blank TextBoxes in C#

  C# .NET: Add Menus to your Forms  

1. Add Menus to Windows Forms in C#

2. Sub Menus

3. Menu Shortcuts

4. Code for your Quit Menu

5. The Edit Menu

6. Copy and Paste in C# .NET

7. The View Menu

8. Adding Images in C# .NET

9. Open File Dialogue Box in C#

10. Open a Text File

11. The Save As Dialogue Box

12. CheckBoxes and Radio Buttons

  C# .NET: Debugging your Applications  

1. Errors at Design Time

2. Run Time Errors

3. Logic Errors

4. Breakpoints

5. The Locals Window

6. Try ..Catch Statements in C# .NET

  C# .NET: Methods  

1. Understanding C# .NET Methods

2. Passing values to your C# Methods


3. Getting values back from C# Methods

  C# .NET: Understanding Arrays  

1. Arrays in C# .NET

2. Arrays and Loops

3. Arrays at RunTime

4. Multi Dimensional Arrays in C# .NET

5. Arrays and Text

6. C# Collections - Lists

7. C# Collections - HashTables

8. C# Collections - Enumerations

  C# .NET: String Manipulation  

1. C# String Variables

2. Trim Unwanted Characters

3. The Contains Method

4. The IndexOf Method

5. The Insert Method

6. PadLeft and PadRight

7. Remove and Replace in C# .NET

8. C# Substring

9. Split and Join in C#

10. A C# .NET Hangman Game

  C# .NET: Events  

1. The Click Event

2. The MouseDown Event

3. KeyDown

4. The Leave Event

5. C# ListBox and ComboBox Events

6. C# Custom Web Browser

7. The TreeView Control

8. Adding Nodes to a TreeView

9. Add a WebBrowser to a C# Windows Form

  C# .NET: Classes and Objects  

1. Classes and Objects in C# .NET

2. A First Class

3. Create Objects from your C# Classes

4. Passing values to your Classes

5. Adding Properties to your C# Classes

6. Using Class Properties

7. Class Constructors in C# .NET

8. Inheritance in C# .NET

9. C# Method Overloading

10. C# Static Methods

  C# .NET: Manipulating Files  

1. How to open a Text File

2. Read a file line by line in C# .NET

1. Write to a Text File

2. How to Copy, Move and Delete a File

  C# .NET: Databases  

1. SQL Server Express and C# .NET

2. Create a SQL Server Express Database

3. Create a SQL Server Database Table

5. Create a Database Project in C#

6. Create a Database Class

7. Display Data from the Database

8. Database Navigation Buttons

9. Add, Update, Delete a Record

10. Finding Records in a DataSet

C# .NET - SQL Server Databases: two tables  

1. Create a Sql Server Database in Visual Studio

2. Create the first table

3. Create a second table

4. Adding data to the two tables

5. SQL queries, Joins, Stored Procedures

6. SQL Paramaters

7. Creating a User Form with a DataGrid

8. Coding for a simple Stored Procedure

9. Search a database using a Stored Procedure

10. Update a database with a Stored Procedure

11. Write code for the update

  C# .NET: Multiple Forms  

1. Creating Multiple Forms

2. Modal Forms in C# .NET

3. Getting at the values on other Forms

  C# .NET: Dates and Times  

1. Dates and Times in C# .NET

 
C# .NET - Images Manipulation (Intermediate C# Project)

1. Rotate an Image

2. Flip an Image

3. Clone an Image

4. Manipulate Image Pixels

5. Inverting Colors

6. Save Bitmap as JPEG

C# .NET - Image Information (Intermediate C# Project)

1. Project Intro and Form Design

2. Detecting the Image Type

3. Image Width, Height, Resolution, Pixel Depth

4. Image Metadata

5. Enumerations, Date Photo Taken, Camera Maker, Camera Model

6. Add Controls at Run Time

7. Getting the Colors Used in an Image

C# .NET - Graphics (Intermediate C# Project)

1. Draw a Line

2. The Paint Event

3. Draw a Rectangle

4. Draw an Ellipse

5. Draw a Polygon

6. Draw Text

Walkthrough: Code your own Email Client (Intermediate C# .NET Project)

1. Design a Form with Tabs

2. Set up an SMTP Client

3. Creating the Mail Message

4. Adding Attachments

5. POP3 Servers Explained

6. Start the Coding to Receiving Emails

7. POP3 Server Authentication

8. Check the Server for Emails

9. Get a List of Emails on the Server

10. Getting an Email Message

11. Parse an Email

12. Delete Email from the Server

Walkthrough: Code your own Picture Viewer (Intermediate C# Project)

1. Intro, Design the Form

2. Selecting Images

3. ImageLists and ListViews

4. Big Images from Thumbnails

5. Adding a Zoom Feature

Walkthrough: Excel Data and Charts Project (Intermediate C# Project)

1. Introduction to the Project

2. Designing the Form

3. Connect to Excel with Code

4. Excel Ranges and Code

5. Combo Box Code

6. Displaying the Chart Data

7. Adding Months to the X Axis

8. Formatting the Chart

9. Chart Background, Titles

Walkthrough: Write a Text to Speech Program (Intermediate C# .NET Project)

1. Intro to the Project

2. Design the Form

3. Load System Voices

4. The Speak Button

5. Pause, Resume, Stop

6. Get File Types

7. Read a Text File

8. Read a PDF

9. Read a Word File

10. The Pronounce Button

11. Get Text From URL