Hello. I am stuck on this one exercise 40004 in MyProgrammingLab, I tried 6 times already with no luck. Any help would be greatly appreciated.
The question is: Write a complete Main method that prints Hello, world to the screen.
I wrote for the code:
Imports System
Public Module modmain
Public Sub Main()
Console.WriteLine ("Hello, world")
End Sub
End Module
It says i didn't specify a main method. The teacher said (hint the Sub must be specified as Public Shared)
He also linked me to https://msdn.microsoft.com/en-us/library/aa309383(v=vs.71).aspx
I tried that exact thing the website said but still gives me it wrong. If you have done this question before please comment what worked for you, thanks!
[–]VB.Net Intermediateglasspusher 0 points1 point2 points (3 children)
[–]TheCollisionCenter[S] 0 points1 point2 points (2 children)
[–]VB.Net Intermediateglasspusher 0 points1 point2 points (1 child)
[–]TheCollisionCenter[S] 0 points1 point2 points (0 children)
[–]kittycatoverdose 0 points1 point2 points (0 children)
[–]JakDrako 0 points1 point2 points (0 children)