What is allowed in Visual Basic that's prohibited in C# (or vice versa)?

后端 未结 21 1851
渐次进展
渐次进展 2020-12-05 06:07

This is code-related as in what the compiler will allow you to do in one language, but not allow you to do in another language (e.g. optional parameters in

21条回答
  •  萌比男神i
    2020-12-05 06:26

    Handles and WithEvents keywords for automatic wiring of EventHandlers.

    Private Sub btnOKClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnOK.Click
    End Sub
    

提交回复
热议问题