Introduction to .NET

An Introduction to VB.NET and C# programming languages using Visual Studio
Overview

The course will provide an introduction to the VB.NET and C# programming languages. The course is suitable for those using the Visual Studio development environment, covering all previous versions of Visual Studio. Delegates can choose to tackle the exercises in either VB or C#, or, if you're feeling comfortable – you can learn both!

Course Code
VST102NET
Duration
2 Days
Delivery Style
Classroom
Course Type
Public or Private
Max Delegates
12
Available as Nutshell
No

Book your team training at your premises

  • Date
  • Venue
  • Cost
  • More info

Book your place

  • Date
  • Venue
  • Cost
  • Availability
  •  
  • 07 Mar 2019
  • VenueWorcester
  • Cost£590
  • AvailabilityAvailable
  • Book Now
  • 07 Oct 2019
  • VenueWorcester
  • Cost£590
  • AvailabilityAvailable
  • Book Now
Purpose of this course

If you’ve never written your own function, or have only done so in a “scripting” language such as VBScript, SQL or as a macro, then it’s time to step up a gear. Programming languages that are designed for writing very large applications typically conform to what is loosely known as Object Oriented standards.

Who is this course for

Programmers who are unfamiliar with the Visual Studio .NET environment and who are new to VB.NET or C#. Those delegates working towards MCTS certification.

You will learn how to
  • Find your way around the latest version of Visual Studio
  • Avoid some of the more common Visual Studio frustrations.
  • Get fully confident with the key dockable windows, including Tools, Properties, Solution Explorer, Output and Errors.
  • Connect GUI pages with their corresponding code-behind files.
  • Pass data in and out of a .NET program
  • Define all the .NET Value types, and say what they are used for.
  • Declare, initialise and use variables.
  • Understand the need for Option Strict.
  • Cast data from one type to another, using a variety of techniques.
  • Handle errors using Try-Catch.
  • Write your own methods.
  • Control program flow using If, Case and Loops.
  • Understand the strengths of different ways of reporting errors to users.
  • Design and build a simple Windows application, with multiple windows, Menus, Toolbars and an About window.
  • The course uses Windows Forms as a vehicle to teach the key topics, but this course is also designed to be a perfect start for delegates who need to learn how to create Web Sites in a Microsoft environment.
Benefits for your organisation

The more your own staff can meet programming and coding requirements in house the less you’ll have to spend on expensive 3rd party consultants. In addition those people will have the added benefit of knowing the business and context in which the programming is needed.

Benefits for you as an individual

This course will allow you to get to grips with the basics of an Object Oriented language, together with making sense of the visually overwhelming Visual Studio. Trying to teach yourself Visual Studio is of course possible, but two days spent with an instructor means you’ll pick up all the key features quickly and easily, and Visual Studio will soon become the favourite application on your PC!

Introduction to .NET

Introduction to .NET
VB.NET vs C#
The Development of the Visual Basic Language
What is the .Net Framework?
Graphical User Interface Design
Event-driven Programming
Object Technology
The Common Language Runtime (CLR)
Rapid Application Development

Visual Studio

Starting Visual Studio.NET
The Integrated Development Environment
Common Visual Studio Frustrations
Getting Help
Assembly Information (Optional)

Controls and Properties

Controls and Properties
Property Categories
Container Controls
Aligning your Controls
Label Controls
Text Box Controls
ToolTip Controls
Button Controls
Understanding Focus
Picture Box Controls

Coding Basics

Introduction to Coding Basics
Where Does the Code Go?
The MessageBox Control
IntelliSense
Splitting up Long Lines of Code
Reading and Writing with Text Boxes and Labels
Passing Data into another Window
Variables
Option Explicit & Option Strict
The Object Data Type

Converting Data Types and Error Handling

Doing Maths
Converting Data Types
Formatting Output
IntelliSense Summary
Methods Related to Data Types (Optional)
Handling Errors
Debugging your code
Using Try-Catch

Writing Methods

Methods
Variable Scope
Passing Arguments into Methods
Returning Data from Methods
Methods and Event Procedures
By Value and By Reference

Controlling Program Flow

Program Flow
Making Decisions in VB
Making Decisions in C#
Validating Input
The ListBox
Looping
Loops and ListBoxes

Instantiation

Introduction
Adding a New Form
Changing the Startup Form

Menus and Toolbars

Designing the User Interface
Adding ToolStrips to Forms
Connecting Menus to Event Procedures
Adding an About Form
Creating Context Menus (Optional)

Prerequisites

Delegates should be familiar with the Windows GUI. This course is designed for people new to programming and it is not suitable for those already experienced in Visual Basic 6. If you have previous VB 6 experience or are familiar with another OO programming language you might consider skipping this course and attending one of our higher-level .NET courses instead.

About the Lead Trainer

No training is dull with Tim. He oozes a real pleasure in teaching people stuff they don’t know. Tim loves developing new courses and sharing his knowledge at many on-site customer locations. In addition to training, Tim is an experienced consultant, advising on company computing requirements.  Did we mention that he also likes to read computing books and blogs in his spare time?