I have a list that needs to have objects added or modified depending on if they already exist or not named countries. It contains Country type objects and they themselves contain a name, points and a Skier type object.
List<Country> countries = new List<Country>();
...inputs
string name= inputData[1];
if (find if a country with name exists inside countries list)
{
change the country
}
else
{
make new country
}
I have the other stuff figured out but I dont know what to put in the if.