


























public class A
{
public int IntValue;
public string StrValue;
public void ShowMessage()
{
Console.WriteLine("IntValue={0},StrValue={1}",IntValue.ToString(),StrValue);
}
}
static void Main(string[] args)
{
A a = new A { IntValue = 100, StrValue = "Hello World!" };
a.ShowMessage();
Console.ReadKey();
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。