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
FirstOrDefault « LINQ « C# / C Sharp
C# / C Sharp
LINQ
FirstOrDefault
1.
use FirstOrDefault
2.
FirstOrDefault: get the first or the default
3.
FirstOrDefault with a Not Found Element
4.
FirstOrDefault returns null when an Element Is Found
5.
FirstOrDefault with string operator
6.
FirstOrDefault with Condition