为什么我这里的EnterpriseAccount()会标红?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// EnterpriseAccount 的摘要说明
/// </summary>
public class EnterpriseAccount : Account
{
private string _Type;//定义_Type私有字段,对应Type属性
public string Type
{
get { return _Type; }
set { _Type = value; }
}
public EnterpriseAccount()
{
}
}
#求解#
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// EnterpriseAccount 的摘要说明
/// </summary>
public class EnterpriseAccount : Account
{
private string _Type;//定义_Type私有字段,对应Type属性
public string Type
{
get { return _Type; }
set { _Type = value; }
}
public EnterpriseAccount()
{
}
}
#求解#