static string sm_strVersion;
a = Assembly.GetEntryAssembly();
sm_strVersion = "Version:" + a.GetName().Version;
//version.cs file contains below code:
namespace FInclude
{
public partial class CFontData
{
public readonly string ToolVersion = "FL.001";
}
}
有人可以解释一下Assembly.GetEntryAssembly()
吗?
在哪里可以获得有关 c# 中所有内置函数的文档?