using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Y.Utils.VersionUtils { public class VersionTool { public static Version Format(string s) { //解析最新版本号 Version version = null; try { version = new Version(s); } catch (Exception e) { } return version; } } }