理由不使用LINQ [英] Reason not to use LINQ

查看:118
本文介绍了理由不使用LINQ的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么好的理由不使用LINQ我projcts?我们使用的.Net 3.5和VSTO 3.0。

Are there any good Reasons not to use LINQ in my projcts? We use .Net 3.5 and VSTO 3.0.

推荐答案

我个人不明白为什么你不想使用它,它使code更具有可读性。

Personally I can't see why you wouldn't want to use it, it makes code much more readable.

有了这样说,LINQ有时不利于在某些情况下的表现,这真的只是我的理由不使用它。

With that being said, LINQ can sometimes be detrimental to performance in certain scenarios, that would really only be my reason for not using it.

这篇关于理由不使用LINQ的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆