The correct answer is D. To discuss dirty and scandalous matters of personal nature in the presence of strangers.
Option A is incorrect because it is not about discussing dirty and scandalous matters of personal nature. It is about criticizing one's nature in public.
Option B is incorrect because it is not about discussing dirty and scandalous matters of personal nature. It is about quarreling in the open.
Option C is incorrect because it is not about discussing dirty and scandalous matters of personal nature. It is about doing some ugly work in public.
The idiom "to wash one's dirty linen in public" means to discuss one's personal problems or embarrassing matters in public. It is considered to be impolite and disrespectful to do this, as it can damage one's reputation.