I have VB 2008. I bought the book "Beginning VB 2008 Databases"
where the first excercise is as follows:
When I run this I get an error that Sub main was not found in the module.
Any idea as to whats wrong?
Thanks
where the first excercise is as follows:
VB.NET:
Imports System
Imports System.Linq
Imports System.Collections.Generic
Imports System.Text
Namespace firstApp
Class program
Shared Sub main(ByVal args() As String)
Console.WriteLine("Welcome")
Console.ReadLine()
End Sub
End Class
End Namespace
Any idea as to whats wrong?
Thanks