I am asking the question in the title because this works:

```
FooBar fooBar = new FooBar();

```

It hits the constructor in FooBar, etc. But this returns null:

```
Type type = Type.GetType("FooBar");

```

Both `FooBar` and the class from which I am trying to do this are in the same namespace, the same project, etc.

I've looked over this thread:

[Type.GetType("namespace.a.b.ClassName") returns null](https://stackoverflow.com/questions/1825147/type-gettypenamespace-a-b-classname-returns-null)

According to that accepted answer (and some others), this *"only works when the type is found in either mscorlib.dll or the currently executing assembly."*

If the two classes are in the same namespace and the same project (ie: same .dll) would that not make the same executing assembly?

What am I doing wrong?