Quote Originally Posted by jmcilhinney View Post
It sounds like you had a name clash. I'm guessing that either your project or the class that that code is in was called WebRequest, so the code interpreted your reference as that. By qualifying the name you changed the meaning of the code and it referred to the correct type.
Aaah!
Thats what is was, my project is called WebRequest.

Thanks jmcilhinney