.NET有效属性名 [英] .NET valid property names
本文介绍了.NET有效属性名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在哪里是在.NET有效属性名的文件?显然,像空间,*或放大器;不是在属性名有效的,但如果是这样记录?
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?
推荐答案
的 http://msdn.microsoft.com/en-us/library/aa664670%28VS.71%29.aspx
从语言规范。物业名称标识符就像成员和职能。当然,也有标准的命名约定在其他地方是可选的,但极大的鼓舞。
From the language spec. Property names are identifiers just like members and functions. Granted, there are standard naming conventions elsewhere that are optional, but greatly encouraged.
这篇关于.NET有效属性名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文