Getting "'string' does not name a type" Error

If I want to use string what will I do?
Please advice..

Pokhraj