Modules serve as containers of code that can be referenced from other parts of a program.It is common practice for a module and the code file which contains it to have the same name. However, this is not required, as a single code file may contain more than one module and/or class. Sub Main() This line defines a subroutine called "Main". "Main" is the entry point, where the program begins execution. Console.WriteLine("Hello, world!") This line performs the actual task of writing the output. "Console" is a system object, representing a command-line interface (also known as a "console") and granting programmatic access to the operating system's standard streams. The program calls the "Console" method "WriteLine," which causes the string passed to it to be displayed on the console. Instead of Console.WriteLine, one could use MsgBox, which prints the message in a dialog box instead of a command-line window. This piece of code outputs Floyd's Triangle to the console:  Imports System.Console  Module Program  End Module  Whether Visual Basic .NET should be considered as just another version of Visual Basic or a completely different language is a topic of debate. There are new additions to support new features, such as structured exception handling and short-circuited expressions. Also, two important data-type changes occurred with the move to VB.NET: compared to Visual Basic 6, the codice_17 data type has been doubled in length from 16 bits to 32 bits, and the codice_18 data type has been doubled in length from 32 bits to 64 bits. This is true for all versions of VB.NET. A 16-bit integer in all versions of VB.NET is now known as a codice_19. Similarly, the Windows Forms editor is very similar in style and function to the Visual Basic form editor. The things that "have" changed significantly are the semantics—from those of an object-based programming language running on a deterministic, reference-counted engine based on COM to a fully object-oriented language backed by the .NET Framework, which consists of a combination of the Common Language Runtime (a virtual machine using generational garbage collection and a just-in-time compilation engine) and a far larger class library. The increased breadth of the latter is also a problem that VB developers have to deal with when coming to the language, although this is somewhat addressed by the "My" feature in Visual Studio 2005.