DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
c# list find null
var
listItem
=
list
.
FirstOrDefault
(
x
=>
x
.
Foo
==
Foo
)
;
if
(
listItem
!=
null
)
{
//Do stuff
}
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#list
#find
#null
ADD COMMENT
Topic
COMMENT
Name
6+5 =
Submit