}
}
+ public static class Host
+ {
+ public static bool TryParse (string input, out string result)
+ {
+ result = input;
+
+ System.Uri dummy;
+ return System.Uri.TryCreate ("http://u@" + input + "/", UriKind.Absolute, out dummy);
+ }
+ }
+
public static class Int
{
public static bool TryParse (string input, out int result)