From the course: Visual Basic Essential Training

Unlock this course with a free trial

Join today to access over 24,500 courses taught by industry experts.

How the editor enhances our code

How the editor enhances our code - Visual Basic Tutorial

From the course: Visual Basic Essential Training

How the editor enhances our code

- [Instructor] Our new project has this simple Hello World example, but we'll need a more interesting example. I'll add some simple code to the sub main so we can see the power of this visual basic editor in Visual Studio. And before I write the code, let's talk about some of the help I'm getting from the editor, starting with the colors. These colors represents different things in my code. So the dark blue for the word module and sub and so on. Those are visual basic keywords. They mean something to the visual basic language. So module, sub, as string, those are all part of the VB programming language. The light blue color represents what's called the type in.net. Now in VB, we can have modules, we can have classes, and we can have structs. Talk more about that later in this chapter. So this represents a type that I'm creating. It's a module type, and this represents a type that's coming from .NET. It's in this light blue color. And then on a type, you can also have members, these…

Contents