Looking to see if there is a simpler way to achieve this. I would love if I could keep the return as a one-line LINQ expression. I want to grab the total number of hints used, which can be more than one.
public int hintsUsed
{
get
{
int i = 0;
questions.ForEach(q => i += q.hintsUsed);
return i;
}
}