public Fish FindFish(string name)
        {
            Fish fish = fishInPool.FirstOrDefault(x => x.Name == name);

            return(fish);
        }
Beispiel #2
0
        public Fish FindFish(string name)
        {
            Fish findCurrentFish = this.fishInPool.FirstOrDefault(f => f.Name == name);

            return(findCurrentFish);
        }