You can’t use .GetType() without an instance because GetType is a method.
You can get the name from the type though like this:
typeof(Foo).Name
And as pointed out by Chris, if you need the assembly qualified name you can use
typeof(Foo).AssemblyQualifiedName