C# - 如何在OpenFileDialog中允许多个文件类型?

Rob*_*cks 19 c# file-extension filter winforms

我知道这一次,但我一直在忘记; 如何在OpenFileDialog的一个过滤条目中允许多个文件类型?

Text files|*.txt          // this is OK.

Text files|*.txt,*.text   // how do I get this??
Run Code Online (Sandbox Code Playgroud)