开发者

duplicate namespace and function names in different assemblies

开发者 https://www.devze.com 2023-02-18 00:20 出处:网络
I have a project in visual studio 2010 and I\'m using C# with .NetFramework 4.0. Is there a way of having two references to two dlls which have the same name, namespace and function names, but differe

I have a project in visual studio 2010 and I'm using C# with .NetFramework 4.0. Is there a way of having two references to two dlls which have the same name, namespace and function names, but different internal开发者_开发技巧 implementation/logic?


As Hans pointed out, you'd need to use aliases. This blog post explains this in better detail.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号