当前位置:编程学习 > C#/ASP.NET >>

DefaultParameterValue(0)怎么报错的NET2.0

public byte[] method_2(byte[] byte_13, [Optional, DefaultParameterValue(0)] uint uint_2)
{
    uint num = 0;
    this.byte_1 = smethod_0(this.byte_1, 0, byte_13, uint_2, 0x10);
    this.method_7(this.byte_0, (this.uint_1 * 4) * 4);
    this.method_4();
    num = this.uint_1;
    while (num-- > 0)
    {
        this.method_7(this.byte_0, (num * 4) * 4);
        if (num > 0)
        {
            this.method_6();
        }
    }
    byte_13 = smethod_0(byte_13, (int) uint_2, this.byte_1, 0, (uint) this.byte_1.Length);
    return byte_13;
}

--------------------编程问答-------------------- 错误 1 DefaultValue 属性的变量类型必须与参数类型匹配 C:\inetpub\wwwroot\App_Code\Class2.cs 2443 59 http://localhost/
补充:.NET技术 ,  C#
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,