C# - How to allow multiple filetypes in an OpenFileDialog?

c#, file-extension, filter, winforms

Solution

Semicolon:

files|*.txt;*.text

Problem

I knew this once but I keep forgetting; How do I allow multiple filetypes in one filter entry of the OpenFileDialog? ``` Text files|*.txt // this is OK. Text files|*.txt,*.text // how do I get this?? ```

Original source