using System;
namespace Test
{
/// <summary>
/// Test 的摘要说明。
/// </summary>
public class Test
{
private int _tt;
_tt=99;
public int tt
{
get
{
return _tt;
}
set
{
_tt=value;
}
}
public Test()
{
//
// TODO: 在此处添加构造函数逻辑
//
//int ii=4;
//int yy;
//yy=8;
}
public void dd()
{
//Trace.Write("fffffffffff");
}
}
}
提示出错:类、结构或接口成员声明中的标记“=”无效。
为什么呢
namespace Test
{
/// <summary>
/// Test 的摘要说明。
/// </summary>
public class Test
{
private int _tt;
_tt=99;
public int tt
{
get
{
return _tt;
}
set
{
_tt=value;
}
}
public Test()
{
//
// TODO: 在此处添加构造函数逻辑
//
//int ii=4;
//int yy;
//yy=8;
}
public void dd()
{
//Trace.Write("fffffffffff");
}
}
}
提示出错:类、结构或接口成员声明中的标记“=”无效。
为什么呢
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货