.NET Property Names

Where is the documentation for valid property names in .NET? Obviously things like space, * or and are not valid in the property name, but where is this documented?

+2


source to share


4 answers


http://msdn.microsoft.com/en-us/library/aa664670(VS.71).aspx



From the language specification. Property names are identifiers, like members and functions. Of course, there are standard naming conventions elsewhere that are optional, but highly encouraged.

+4


source


You can view information for a specific language on the platform, here are a few.

C #
language VB language



Specifically: Declaring C # Properties

+8


source


The rules for valid identifiers also apply to properties.

Start searching here: C # Language Specification - 2.4.2 Identifiers

+3


source


0


source







All Articles