111,126
社区成员
发帖
与我相关
我的任务
分享
构造函数
public text1()
{
}
public text1(char c)
{
ch = c;
}
main函数
static void Main()
{
Console.WriteLine("输入一个值:");
char ch = char.Parse(Console.ReadLine());
text1 a = new text1(ch);
text1 b = ++a;
Console.WriteLine(b);
}