为什么不能正常工作?声明不起作用
Module Module1
Sub Main()
With System.Console 'error BC30691: 'Console' is a type in 'System' and cannot be used as an expression.
.WriteLine("here a text!")
.ReadKey(True)
End With
End Sub
End Module
为什么不能正常工作?声明不起作用
Module Module1
Sub Main()
With System.Console 'error BC30691: 'Console' is a type in 'System' and cannot be used as an expression.
.WriteLine("here a text!")
.ReadKey(True)
End With
End Sub
End Module
的WriteLine和ReadKey是Shared
方法,你没有一个实例与With
你需要为了与With
你可以给我们更多的信息,我们不是千里眼!请告诉我们你收到了什么错误,你认为你应该得到什么结果,以及你正在尝试做什么。 –