Get the fully qualified name of a class?

后端 未结 1 791
盖世英雄少女心
盖世英雄少女心 2021-02-14 14:39

All, I have a log4net implementation and I\'m trying to use the AdoNetAppender, but one of the subelements for the appender configuration is conn

相关标签:
1条回答
  • 2021-02-14 15:33

    I'm not sure what type you need, but you can use this in code to get the fully qualified name of a type.

    string fullyQualifiedName = typeof(MyType).AssemblyQualifiedName;
    
    0 讨论(0)
提交回复
热议问题