class library中如何取自己所在路径

class library中怎么取自己所在路径?winform程序中是用application.startuppath,classlibrary中怎么取呢?[

class library中怎么取自己所在路径?
winform程序中是用application.startuppath,class   library中怎么取呢?

[解决办法]
UP
[解决办法]
using System.Reflection;

Assembly.GetEntryAssembly().Location;

看看这个行不行