Im learning VB.NET through Sam's Teach yourself VB.NET in 21 Days.
The problem is with this code:
I get an error about the last line reffering to ShowMessage: expected declarationCode:Sub ShowMessage(ByVal Message As String)
Console.Writeline(Message)
End Sub
ShowMessage("Message goes here.")
But I delcared it in the first line didnt I? I tryed placing the last line
within the Sub, and I dont get any output to the console. Any Ideas? :confused:
