4712. Learning to Program using Visual Basic 2008
(VB2008)
In this course, you’ll learn to use Visual Studio 2008 to explore the Visual
Basic language. The course starts with a quick overview of the .NET platform, examining
assemblies, Microsoft Intermediate Language, Visual Studio profiles, XML comments,
IntelliSense, and debugging. From there, you’ll learn all the language features that
you must internalize in order to create full-featured Web or Windows applications
that make best use of the .NET platform. You’ll learn about data types, variables,
and operators, along with all the important flow control structures. You’ll work
through several examples demonstrating the power of the .NET Framework, and dig into
creating and consuming your own classes and objects. The course moves on to working
with data structures, such as arrays and collection classes, before finishing up with
discussions of generics, handling exceptions and working with delegates and events. The
course concludes by introducing the new LINQ-oriented features added to the .NET
Framework 3.5, including anonymous types, lambda expressions, and more. By the end
of this course, you will understand the important basic concepts that will allow you
to start creating the applications you need.
LEARNING OBJECTIVES
·
Build and debug applications using Visual Studio 2008.
·
Create and use variables, operators, and data types.
·
Find and use the classes you need within the .NET Framework.
·
Manage flow control within your code, branching and looping as needed.
·
Create and consume classes and objects.
·
Add and consume properties and methods in your classes.
·
Make use of .NET's object-oriented features, such as overloading,
inheritance and interfaces.
·
Store, retrieve, and manipulate multiple values using arrays.
·
Work with .NET generics.
·
Make best use of the .NET Framework's support for collection classes.
·
Handle exceptions in your code.
·
Create and use delegates, and understand how they relate to events.
·
Use anonymous types, lambda expressions, extension methods, object initializers, and implicit type declaration.
Course Duration: 5
days
Prerequisites: This course assumes that students have some programming background.
No specific experience with Visual Studio 2008 or the .NET Framework is required. As with any such
course, the more experience you bring to the course, the more you’ll get out of it. This course moves
quickly through a broad range of programming topics, but it does not require any prior .NET skills.
1. Getting Started with .NET
Thinking about .NET
Using Visual Studio 2008
Debugging Your Code and Handling Exceptions
2. Data Types and Variables
Introducing Variables and Data Types
Working with Variables and Data Types
3. Using the .NET Framework
Using .NET Framework Classes
Working with Strings
Working with Dates and Times
The My Namespace
4. Branching and Flow Control
Conditional Branching
Repeating Code Blocks
Unconditional Branching
5. Classes and Objects
Introducing Objects and Classes
Creating Your Own Class
Working with Classes
6. Properties and Methods
Working with Properties
Working with Methods
7. Object-Oriented Techniques
Inheritance
Interfaces
Organizing Classes
8. Working with Arrays
Introducing Arrays
Manipulating Arrays
9. Delegates and Events
Motivating Delegates
Introducing Delegates
Working with Events
10. Generics
Introducing Generics
Generics and Arrays
Generic Interfaces
Generic Constraints
Generics and Lists
11. Handling Exceptions
Perspectives and Exception Handling
Getting Started with Exception Handling
Catching Specific Exceptions
Raising Errors
Running Code Unconditionally
Creating Exception Classes
12. Collection Classes
Generics, Collections, and Interfaces
The Generic List
Working with Dictionaries, Stacks, and Queues
Creating Your Own Generic Collection Classes
13. Languages Extensions for LINQ
LINQ and Languages
Implicity Typed Local Variables and Object Initializers
Lambda Expressions, Extension Methods, and Anonymous Types