public struct STONES
{
public int x;
public int y;
};
public struct Lines
{
public STONES[] Point = new STONES[2];//错误
public int[] items= new int[6];//错误
public int value;
public int color;
};
public struct STONES
{
public int x;
public int y;
};
public struct Lines
{
public STONES[] Point ;
public int[] items;
public int value;
public int color;
};
public class Program{
static void Main(){
Lines line=new Lines();
STONES stone=new STONES();
stone.x=12;
stone.y=21;