こと / ということ
Usage
When a particle or other part of speech is appended to a sentence, the form こと + particle is used to nominalize the sentence. The sentence before こと becomes the plain form.
Vますform ~~ます~~ + たがる / たがっている
(い / な) + がる / がっている
Examples
田中さんが結婚したことを知っていますか
Taro covets his friend's toys.
これは田中さんの辞書ではないことがわかりました。
Young people these days are disinclined to read difficult books.
二十歳になれば誰でも結婚できるということを知っていますか
Did you know that anyone can get married once they turn twenty?
Good to know
When the sentence ends with a なA form, use なこと or であること
When the sentence is too long, you have to use ということ