<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # Compiler Error CS1001 應輸入標識符 未提供標識符。標識符是您提供的類、結構、命名空間、方法、變量等的名稱。 下面的示例聲明一個簡單的類,但沒有為類指定名稱: ``` //cs1001.cs public class //CS1001 { public int Num {get; set;} void MethodA(){} } ``` 下面的示例之所以會生成 CS1001,原因是在聲明枚舉時必須指定成員: ``` // CS1001.cs public class clx { enum Colors : int { 'a', 'b' // CS1001, 'a' is not a valid int identifier // The following line shows examples of valid identifiers: // Blue, Red, Orange }; public static void Main() { } } ``` 即使編譯器不使用參數名(例如,在接口定義中),也需要參數名。需要這些參數,以便使用接口的程序員能夠對參數的含義有所了解。 ``` // CS1001-2.cs // compile with: /target:library interface IMyTest { void TestFunc1(int, int); // CS1001 // Use the following line instead: // void TestFunc1(int a, int b); } class CMyTest : IMyTest { void IMyTest.TestFunc1(int a, int b) { } } ``` ## 請參閱 [語句、表達式和運算符(C# 編程指南)](https://msdn.microsoft.com/zh-cn/library/ms173142.aspx) [類型(C# 編程指南)](https://msdn.microsoft.com/zh-cn/library/ms173104.aspx)
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看