VB:
--------------------------------------------------------------------------------
Module modFirst
Sub main()
Console.WriteLine("Welcome to .NET")
End Sub
End Module
--------------------------------------------------------------------------------
Error message
Quote:
--------------------------------------------------------------------------------
Sub Main was not found in ConsoleApplication2.Module1.
--------------------------------------------------------------------------------
Can someone tell me whats wrong with my code?
--------------------------------------------------------------------------------
Module modFirst
Sub main()
Console.WriteLine("Welcome to .NET")
End Sub
End Module
--------------------------------------------------------------------------------
Error message
Quote:
--------------------------------------------------------------------------------
Sub Main was not found in ConsoleApplication2.Module1.
--------------------------------------------------------------------------------
Can someone tell me whats wrong with my code?