The Visual Basic 2008 Programming Language

4 Day Course
Hands On
Code QAVBNPL-35

This course has been retired. Please view currently available Microsoft Visual Studio Training Courses.

Modules

Hide all

Introduction to .NET & Visual Basic 2005 (5 topics)

  • The .NET Framework
  • The Common Language Runtime
  • The Common Type System
  • Visual Basic 2005 Features
  • Introduction to namespaces and assemblies

Language Fundamentals (7 topics)

  • Procedures and statements
  • Data types
  • Declaring variables
  • Assignments
  • Conversion
  • Arithmetic and other operators
  • Control constructs

Types (11 topics)

  • Type concepts
  • Value and reference types
  • Fields, properties and methods
  • Accessibility modifiers
  • Construction
  • Assignment
  • The simple types
  • The 'nothing' reference
  • Shared and instance members
  • Enumerated types
  • Partial classes

Exception Handling (4 topics)

  • Errors vs. Exceptions
  • The 'Try' 'Catch' & 'Finally' blocks
  • Using 'Throw'
  • Creating your own exceptions

Inheritance (4 topics)

  • Concept of inheritance
  • Extending a simple class
  • Polymorphism
  • 'Overridable', 'Overrides', 'Shadows' and 'NotInheritable' modifiers

Abstract Classes & Interfaces (4 topics)

  • Abstract classes
  • Abstract methods, properties and indexers
  • Polymorphism with interfaces
  • Multiple interfaces

Arrays & Default Properties (5 topics)

  • Arrays
  • Array initialisers
  • Multi-dimensional arrays
  • Jagged arrays
  • Default properties

Attributes (4 topics)

  • Attributed code explained
  • Using attributes
  • Custom attributes
  • Introduction to reflection

Namespaces & Assemblies (6 topics)

  • Namespaces
  • The 'Imports' statement for namespaces
  • Assemblies
  • DLLs at compile time and Run Time
  • The Global Assembly Cache (GAC)
  • Versioning using public/private key cryptography

Generic Types (6 topics)

  • The need for generics
  • Writing and using generic types
  • Applying constraints
  • Other aspects of generic programming
  • Nullable types
  • Generic collections

Managing Resources (5 topics)

  • Garbage collection and its impacts
  • Finalizers
  • The 'Dispose' method
  • IDisposable interface
  • The using statement for deterministic resource management

Delegates & Events (6 topics)

  • Delegates explained
  • Working with delegates
  • Creating your own delegate types
  • Events
  • Generic Delegate EventHandler(of T)
  • Custom event declarations

Visual Basic 2008 Language Enhancements (7 topics)

  • Object & Collection initialisers
  • Anonymous types
  • 'var' & inferred data types
  • Delegate type Func(of A,R)
  • Using lambda expressions
  • Extension methods
  • LINQ and how LINQ uses and relies on all these new language enhancements

Introduction to ASP.NET & Windows Forms (4 topics)

  • Putting the language into practice
  • Creating a simple ASP.NET Web Forms application using ADO.NET
  • Creating a simple Windows Forms application
  • Using a Web Service

Operator Overloading (4 topics)

  • Why operator overloading is useful
  • When to overload
  • Widening conversions
  • Narrowing conversions

Prerequisites

Delegates must understand the fundamentals of programming and should have had some prior exposure to object oriented programming techniques.

Sections