Module Module1

    Sub Main()
        System.Console.Writeline{"this is my program"}
        System.Console.ReadLine{}
    End Sub

End Module

this is my code
am getting an error saying that

Error 1 Expression expected.
Error 2 Method arguments must be enclosed in parentheses.
Error 3 Expression expected.
Error 4 Method arguments must be enclosed in parentheses.

Function calls use parentheses, not braces:

System.Console.Writeline("this is my program")
System.Console.ReadLine()

thanq very much

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.