title: Error Trying to Parse a Generic Type whenType is TimeSpan
body: <p>I have the following code that I am using to try and parse a string to a generic type. In the instance I am using it fails when I try and parse to a TimeSpan. The input string is <code>"12:34"</code> which Parses fine using <code>TimeSpan.Parse</code> but I couldn't find a solution to implement <code>&lt;Generic&gt;.Parse</code></p>
  
  <pre><code>Public Function ParseGeneric(Of T)(ByVal stringValue As String) As T
      Return DirectCast(Convert.ChangeType(stringValue, GetType(T)), T)
  End Function
  </code></pre>
  
  <p>Error: <strong>Invalid cast from 'System.String' to 'System.TimeSpan'.</strong></p>