【发布时间】:2012-06-19 05:56:06
【问题描述】:
我在以下 C# 代码中收到错误“类、结构或接口成员声明中的标记无效”。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplication3
{
class Program
{
static int a, b;
void add(int x, int y);
{
int c= x+y;
Console.WriteLine("addition is " + char);
}
static void Main(string[] args)
{
}
}
}
我们将不胜感激您的帮助。
谢谢。
阿内斯
【问题讨论】: