获取程序的版本号,还有其他方法吗
object[] attributes = Assembly.GetExecutingAssembly().GetCustomAttributes(typeof(AssemblyTitleAttribute), false);
除了这样的还有其他方法吗
[解决办法]
public static string Version() { return Assembly.GetExecutingAssembly().GetName().Version.ToString();}