How to use "goodnight" in a sentence

Sentences

After dinner, the bishop said goodnight to his sister, picked up one of the two candlesticks and, handing the other to his guest, said, 'I'll show you to your room, Monsieur.'

We said goodnight and he went up to bed.