静态方法中用: string className = System.Reflection.MethodBase.GetCurrentMethod().ReflectedType.FullName; 非静态方法中还可以用: string className = this.GetType().FullName; 相关文章: 2022-12-23 2022-12-23 2021-11-07 2022-01-28 2022-12-23 2022-12-23 2021-11-25