Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Menu
Query « LINQ « C# / C Sharp
C# / C Sharp
LINQ
Query
1.
Chaining Query Operators/extracts all strings containing the letter "a", sorts them by length, and then converts the results to uppercase
2.
Use Contains, Length and ToUpper from Linq
3.
Use select to retrieve all nodes in a Binary tree
4.
Get Distinct departments with condition
5.
Use LINQ to get Employees in the IT department from a tree
6.
Use from where select to choose the Employees in the IT department from a tree
7.
All employees in a tree are grouped by department