LINQ for VB 2005
collections, we use iteration to retrieve their elements. If we’re looking for a particular element based on its content rather than its index, we have to use a loop and process each element individually. For example, for an array of strings there is no built-in method to retrieve all elements wh...
Đã lưu trong:
Tác giả chính: | |
---|---|
Định dạng: | Sách |
Ngôn ngữ: | English |
Được phát hành: |
Apress
2012
|
Những chủ đề: | |
Truy cập trực tuyến: | https://scholar.dlu.edu.vn/thuvienso/handle/DLU123456789/31507 |
Các nhãn: |
Thêm thẻ
Không có thẻ, Là người đầu tiên thẻ bản ghi này!
|
Thư viện lưu trữ: | Thư viện Trường Đại học Đà Lạt |
---|
Tóm tắt: | collections, we use iteration to retrieve their elements. If we’re looking for a particular
element based on its content rather than its index, we have to use a loop and process each
element individually. For example, for an array of strings there is no built-in method to
retrieve all elements whose length is equal to a particular value.
LINQ addresses this challenge by providing a uniform way to access data from any data
source using familiar syntax. It lets us focus on working with data rather than on accessing
it.
LINQ to Objects can be used with any class that implements the IEnumerable(Of T)
interface. Let’s look at how it works. |
---|