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

后端 未结 21 1837
渐次进展
渐次进展 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条回答
  •  醉梦人生
    2020-12-05 06:34

    The semi-colon that ends up every line in C# is prohibited in VB, and that always makes me smile when I try going back to VB.Net...

提交回复
热议问题