I am trying to compare two class types, but i keep getting an error.

```
 if (mediaTitleCollection[i].GetType() == Catalog.FilmMedia)

```

I get following error: 'Catalog.FilmMedia' is a 'type' which is not valid in this context.

I dont exactly see the problem hence the primary thing im comparing with is a type aswell?