C# 中的扩展库
我正在寻找 C# 中标准类型的良好扩展库(具有大量扩展方法的库)。我在 Codeplex 上找到了一些库,但我认为它们非常弱。
编辑:我需要一个库,它可以为不同的(越多越好)目的实现不同的数学函数。
I am looking for a good Extensions library (library with a great number of extensions methods) in C# for standard type. I have found some libraries on Codeplex, but they are considered to be very weak by me.
Edit: I need a library which implements different mathematical functions for different (more the better) purposes.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
MoreLinq 填补了 LINQ-to-Objects 内置扩展的大部分空白。该项目似乎仍然存在并得到维护,并且还可以作为 nuget 包(BETA)使用。
MoreLinq fills much of the gaps in the built-in extensions for LINQ-to-Objects. The project seems to be alive and maintained and is also available as a nuget package (BETA).
您可以查看 Codeplex 上的 Extension Overflow 项目,该项目诞生于 这篇文章。
否则,如果您正在寻找数学库,请查看 C# 编程工具在 MSDN 上。无论如何,我不知道那里的数学库是否包含很多扩展方法......
You could check the Extension Overflow project on Codeplex, which was born from this post.
Otherwise, if you are looking for a math library, have a look at C# Programming Tools on MSDN. I don't know if the math libraries there contain lots of extension methods, anyway...
扩展溢出中汇总了一些很好的示例
问题
Some good examples have been put together in Extension overflow
Related to this question
为什么要寻找这样的扩展库?您似乎在框架中缺少一些您不想自己实现的功能。
如果您想获得任何有用的答案,您需要告诉我们图书馆应该实现的目的。
如果您缺少 Linq 中的某些功能,可以查看 MoreLinq。
Why are you looking for such an extension library? It seems that you are missing some functionality in the framework you are not wanting to implement yourself.
If you want to get any useful answers you need to tell us what purpose the library should fulfill.
If you are missing some features in Linq, you can look at MoreLinq.
http://dnpextensions.codeplex.com/ 可能是现在维护得更多的库。
http://dnpextensions.codeplex.com/ is probably the more maintained library now.