帮忙纠正错误
using System;using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace 日期
{
class CDate
{
int year, month, day;
public int y
{
get
{
return year;
}
set
{
year = value;
}
}
public int m
{
get
{
return month;
}
set
{
month = value;
}
}
public int d
{
get
{
return day;
}
set
{
day = value;
}
}
public void Input_Date()
{
}
public string Output_Date()
{
return y + m + d;
}
}
class Program
{
static void Main(string[] args)
{
CDate s=new CDate();
Console.WriteLine("请输入日期:{0}",s.Input_Date());
}
}
}