Assembly system = Assembly.Load("System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089");
Type t = system.GetType("DateTime");
為什麼反射不到DateTime,我懷疑是因為DateTime是struct類型而非class,如果是的話,如何反射struct類型,我是先獲取Assembly,再在裡面找Type,所以不要回答用typeof(DateTime)來獲取Type
Type.GetType("DateTime")