I recently started using LINQPad to test bits and pieces and its a great time saver.

However, sometimes it gives me some errors with minor things.

when I want to test this:

HttpUtility.UrlPathEncode("Make sure");

I get this error: The name 'HttpUtility' does not exist in the current context.

Is there a way to get it to recognize basic stuff like HttpUtility?


I just tried writing:

System.Web.HttpUtility.UrlPathEncode("Make sure")

and I am shown this: The type or namespace name 'HttpUtility' does not exist in the namespace 'System.Web'

Edit
Report