1.前言 静态页面 加载 <script type="module" > 报CORS 跨域错误,提示Access to script at ftp:///xxx.js from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, ch
这里介绍反射的简单实用 MyClass类 public class MyClass { public int Age { get; set; } public string Name { get; set; } public MyClass() { Console.WriteLine("无参数的构造函数"); } public MyClass(string name) { this.Name = name; Console.WriteLine("有参数的构造函数")