An Introduction to VB.NET and C# programming languages using Visual Studio
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!Book a Private Event
If you require the content of this event tailored or have around 7 or more people to train it maybe better for you to host a Private Event, please get in touch to discuss this.
Get in touchDescription
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.
Purpose of the 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.
You will learn how to
Find your way around the latest version of Visual StudioAvoid 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.
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.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!
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.
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)
Get Started
Forget trawling through endless course catalogues – Find the training that’s right for you
Learn MoreLatest from our blog
Kanban and Agile: Bridging the Gap
Kanban and Agile: Bridging the Gap Quanta’s Kanban University Certified Trainer Steve Church explores the way in which Agile and…
Read More
How a Ballerina could move into Cybersecurity
Jason Ford, Quanta Cybersecurity and IT Trainer talks about the limitations in Cybersecurity Training courses. Jason discusses a safe and…
Read More
Boost Team Performance and Productivity: Unlocking the Advantages of Emotionally Intelligent Leadership
Quanta People Development and Leadership Trainer, Giles Collins outlines the key elements of Emotionally Intelligent Leadership and how it impacts…
Read More