Unity-Monodevelop communication error?

I’m attempting to write some scripts that add and modify gameObjects. However when I write the code to create a new game object, for instance -

gameObject something = new gameObject();

When I attempt to reference or add anything to it -

MeshFilter filter = something.AddComponent.<MeshFilter>();

Monodevelop won’t accept anything for the <>, it says it’s not expect ‘<’. I feel like it should autocomplete, am I missing something?

Remove the dot in front of the component type.

MeshFilter filter = something.AddComponent<MeshFilter>();