当我构建我的项目时,VC#表示不允许使用默认参数说明符。它导致我到这个代码:C#上不允许默认参数说明符错误
public class TwitterResponse
{
private readonly RestResponseBase _response;
private readonly Exception _exception;
internal TwitterResponse(RestResponseBase response, Exception exception = null)
{
_exception = exception;
_response = response;
}
什么可能是我的错误?
准确的错误信息是什么?哪条线? – dtb
您使用的是哪个版本的Visual Studio和哪个.NET框架? [this](http://stackoverflow.com/q/7822450/76217)有帮助吗? – dtb
http://stackoverflow.com/questions/7822450/default-parameter-specifiers-are-not-permitted – Habib