Console.WriteLine("{0}={1}", roman, context.Data);
Console.Read();
}
}
public class Context
{
private string statement;
private int data;
public Context(string statement)
{
this.statement = statement;
}
public string Statement
{
get
{
return statement;
}
set
{
statement = value;
}
}
延伸阅读
文章来源于领测软件测试网 https://www.ltesting.net/