static void Main(string[] args) { Fishing.Fish a = new Fishing.Fish("정어리", 2); F.Fish b = new F.Fish("상어", 10); Fish c = new Fish("방어", 5); a.print(); b.print(); c.print(); }
public CurrentFish(Fish fish) { InitializeComponent(); this.fish = fish; SetCurrentFish(fish); }