public string PickUpItem(string[] args) { var characterName = args[0]; var character = party.FirstOrDefault(c => c.Name == characterName); ExceptionTracker.DoesCharacterExist(character, characterName); var item = pool.LastOrDefault(); ExceptionTracker.DoesItemExist(item); pool.Remove(item); return($"{characterName} picked up {item.GetType().Name}!"); }