In Dostoyevski
Crime and Punishment, there is a similar 'reveal' monologue with an extremely interesting twist (spoiler alert): the narrator knows the murderer, the reader knows the murderer, the detective knows the murderer, the reader knows that the detective knows the murderer - but the murderer, a naive student who is convinced he is the Übermensch and committed a perfect crime, is unaware that everyone knows he did it. It's both an extremely tragic and extremely funny scene: at one point they have a lengthy conversation where both of them "try" to find out who the real murder is, and the student, thinking he is helping the dumb detective with his superior mind, suggests one murderer after the other, one theory after another. The detective dismisses them all. Finally, the student grows frustrated and blurts out: "Then who
is the murderer?". And the detective just answers: "The murderer? Why,
you are, of course!". The silence that follows is one of the best moments in literature and a testament to Dostoyevski's genius regarding character development.
Of course, as many people know, that scene and in particular that seemingly clueless but extremely clever 19th century St. Petersburg detective inspired the Columbo series, which repeated this particular kind of "reveal dialogue" in basically every episode.