0
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.

Edited by Narue: Added code tags

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by shravani1
0

Function calls use parentheses, not braces:

System.Console.Writeline("this is my program")
System.Console.ReadLine()
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.