[mono-vb] implemennting simple procedure (error BC0000)

Nils Gotzhein nils.gotzhein at debitel.net
Wed Apr 5 13:25:28 EDT 2006


Hi, i've got the following code and it won't compile
--
Public Class application

    public shared Sub Main()
        System.Console.WriteLine(System.DateTime.Today)
        MyOwnTestSub()
    End Sub
    
    public shared sub MyOwnTestSub()
        system.console.writeline("test sub")
    End Sub
    
End Class
--
I'm getting error
Method MyOwntestSub does not have a method body (BC0000...)
Whats wrong with it?




More information about the Mono-vb mailing list