Notice that the Main() method is defined within a Visual Basic module type (which has nothing
to do with a *.netmodule file for a multifile assembly). In a nutshell, modules are a Visual Basic nota-
tion for defining a sealed class that can contain only static methods. In any case, to exercise the
MiniVan and SportsCar types using the syntax of Visual Basic, update your Main() method as follows:
Sub Main()
Console.WriteLine("***** VB CarLibrary Client App *****")
Do'stlaringiz bilan baham: