#副標=Visual Studio 2005 新功能系列(7) #大標=活用程式碼片段提升開發效率(上) #作者=文/沈炳宏 ==程式1 =========== private int myVar; public int MyProperty { get { return myVar;} set { myVar = value;} } ================ ==程式2 ===========
...
...
================ ==程式3 ===========
Property prop Microsoft Corporation 屬性和支援欄位的程式碼片段 www.microsoft.com Set Property Get Property Expansion
================ ==程式4 =========== System.Data.dll www.microsoft.com System.Data type 屬性型別 int property 屬性名稱 MyProperty field 支援此屬性的變數 myVar ================