# Get supported file formats Enumerate all file formats supported by GroupDocs.Comparison for .NET at runtime using FileType.GetSupportedFileTypes() — get extension and MIME type for each supported format. [GroupDocs.Comparison](https://products.groupdocs.com/comparison/net) allows you to get the list of all [supported file formats]({{< ref "comparison/net/getting-started/supported-document-formats.md" >}}). To do this, follow these steps: 1. Call the [GetSupportedFileTypes](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype/methods/getsupportedfiletypes) method of the [FileType](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype) class. 2. Enumerate through the collection of the [FileType](https://reference.groupdocs.com/comparison/net/groupdocs.comparison.result/filetype) objects. The following code snippet shows how to get list of supported file formats: {{< tabs "example1">}} {{< tab "C#" >}} ```csharp using GroupDocs.Comparison; using System; using System.Collections.Generic; using System.Linq; using GroupDocs.Comparison.Result; // ... IEnumerable supportedFileTypes = FileType .GetSupportedFileTypes() .OrderBy(f => f.Extension); foreach (FileType fileType in supportedFileTypes) Console.WriteLine(fileType); ``` {{< /tab >}} {{< /tabs >}} The result is as follows: ![](https://docs.groupdocs.com/comparison/net/images/get-supported-formats.png) ## See also - [Supported file formats]({{< ref "comparison/net/getting-started/supported-document-formats.md" >}}) - [Specify file type manually]({{< ref "comparison/net/advanced-usage/loading/specify-file-type-manually.md" >}}) - [Compare documents]({{< ref "comparison/net/comparison-basic/compare-documents.md" >}})