c#構造の定義
using System;
using System.Collections.Generic;
using System.Text;
namespace Queue
{
public struct Animal {//
public int legs;
public string name;
public string color;
public Animal(int legs, string name, string color)//
{
this.legs = legs;
this.name = name;
this.color = color;
}
}
}