Hour 13. Understanding Query Expressions
In Hour 10, “Working with Arrays and Collections,” you learned how applications could work with data stored in collections. Applications also need to work with data stored in other data sources, such as SQL databases or XML files, or even accessed through a web service. Traditionally, queries against these different data sources required different syntax and performed no type checking at compile time.
For example, consider a collection of customers. How would you search that collection for all customers with a specific job title? Using what you have learned so far, ...
Get Sams Teach Yourself C# 5.0 in 24 Hours now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.