int year = 2015;//年份
string text;
text=year%4==0?"闰年":"平年";//请填写代码
Console.WriteLine("今年是{0}",text);
Console.ReadLine();
//是不是多了最后一句ReadLine?
static void Main(string[] args)
{
int year = 2015;//年份
string text = year%4==0?"闰年":"平年";//请填写代码
Console.WriteLine("今年是{0}",text);
}?号 要两边空格隔开

分号是英文