public static VersionNumber Parse(string versionStr)
{
if (versionStr == null)
throw new ArgumentNullException("versionStr");
string[] sa = versionStr.ToLower(CultureInfo.CurrentCulture).Replace("version", "").Replace("v", "").Split('.');
if (sa.Length != 3)
throw new ArgumentException(SR.Exceptions.VersionNumber.Msg_InvalidVersionFormat, "versionStr");
return new VersionNumber(Convert.ToInt32(sa[0], CultureInfo.CurrentCulture), Convert.ToInt32(sa[1], CultureInfo.CurrentCulture), GetVersionStatus(sa[2]));
}
/// <summary>