C#C
C#3y ago
LeviCoding

Fast search an object in a list using his attribute

So I have a list of ships and each ship has a length width, mass and a name. We need to write a method that searches in this list the oobject using his name attribute. So only a string is given with the method. for example public Ship SearchShip(string shipName){}
Was this page helpful?