Preparing your study page...
Correct answer: C
Explanation
'It was so nice of them' means it was kind of them to do something; 'nice of someone' is the idiom for a kind act.