Am I missing something about LINQ?

后端 未结 6 507
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-31 01:23

I seem to be missing something about LINQ. To me, it looks like it\'s taking some of the elements of SQL that I like the least and moving them into the C# language and usin

6条回答
  •  时光说笑
    2020-12-31 02:11

    The point is that LINQ integrates your queries into your primary programming language, allowing your IDE to provide you with some facilities (Intellisense and debug support, for example) that you otherwise would not have, and to allow the compiler to type-check your SQL code (which is impossible with a normal string query).

提交回复
热议问题