using System;
using System.Collections.Generic;
using System.Text;namespace test
{
    struct circle
    {
        public int x, y;//圆的圆心
        public int radius;//圆的半径
    
        public circle (int a, int b, int r);
               
              
{
             x= a;
              y=b ;
             radius=r;
        
    }
}
    class program
    {
        public static void Main(string[] args)
        {
            circle  mycircle;
            //circle mycircle = new circle(20, 20, 300);
            mycircle .x=20;
            mycircle .y=20;
            mycircle .radius=300;
           Console .WriteLine ("My Circle:");
           Console .WriteLine ("x={0},y={1},radius={2}",mycircle.x, mycircle.y,mycircle.radius);        }
    }
    
}
错误 1 类、结构或接口成员声明中的标记“=”无效
\Program.cs 14 16
错误 2 类、结构或接口成员声明中的标记“;”无效
\Program.cs 14 19
错误 3 类、结构或接口成员声明中的标记“=”无效
\Program.cs 15 16
错误 4 类、结构或接口成员声明中的标记“;”无效
\Program.cs 15 19
错误 5 类、结构或接口成员声明中的标记“=”无效
\Program.cs 16 20
错误 6 类、结构或接口成员声明中的标记“;”无效
\Program.cs 16 22