This print for content only-size & color not accurate 7" X 9-1/4" / casebound / malloy



Download 21,46 Mb.
Pdf ko'rish
bet928/1830
Sana28.09.2021
Hajmi21,46 Mb.
#188411
1   ...   924   925   926   927   928   929   930   931   ...   1830
Bog'liq
[book] [en] Pro C# 2008 and the NET 3.5 Platform Fourth Edition



Source Code

The LinqRetValues project can be found under the Chapter 14 subdirectory.

C H A P T E R   1 4  

A N   I N T R O D U C T I O N  TO   L I N Q



471

8849CH14.qxd  9/26/07  12:30 PM  Page 471




Summary

LINQ is a set of related technologies that attempts to provide a single, symmetrical manner to inter-

act with diverse forms of data. As explained over the course of this chapter, LINQ can interact with

any type implementing the IEnumerable interface, including simple arrays as well as generic and

nongeneric collections of data.

As you have seen over the course of this chapter, working with LINQ technologies is accom-

plished using several new C# 2008 language features. For example, given the fact that LINQ query

expressions can return any number of result sets, it is common to make use of the var keyword to

represent the underlying data type. As well, lambda expressions, object initialization syntax, and

anonymous types can all be used to build very functional and compact LINQ queries.

More importantly, you have seen how the C# LINQ query operators are simply shorthand

notations for making calls on static members of the System.Linq.Enumerable type. As shown, most

members of Enumerable operate on Func delegate types, which can take literal method addresses,

anonymous methods, or lambda expressions as input to evaluate the query.

C H A P T E R   1 4  


Download 21,46 Mb.

Do'stlaringiz bilan baham:
1   ...   924   925   926   927   928   929   930   931   ...   1830




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish