.NET valid property names

前端 未结 4 728
天命终不由人
天命终不由人 2021-01-22 19:03

Where is the documentation for valid property names in .NET? Obviously things like space, * or & aren\'t valid in a property name, but where is this documented?

4条回答
  •  盖世英雄少女心
    2021-01-22 19:09

    You can look the information up for a particular language on the platform, here are a few.

    C# Language
    VB Language

    More specifically: C# Property Declaration

提交回复
热议问题