c#で、クラスから dll パスを取得する方法

System.Reflection.Assembly.Locationを使う。

System.Reflection.Assembly asm = System.Reflection.Assembly.GetAssembly(targetObject.GetType());
Console.WriteLine(asm.Location);