Sring _outName needs to be static. It also needs a semicolon.
A stupid mistake on my part. Thats what I get for not compiling. Thanks for pointing it out.