repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add Mono.Runtime::GetNativeStackTrace method to make the new backtracing facility...
[mono-project.git]
/
mcs
/
tests
/
gtest-linq-22.cs
blob
05a9fb081f90de3ac1501373b550a4913a2615c4
1
using
System
;
2
using
System
.
Linq
;
3
4
namespace
Test
5
{
6
class
MainClass
7
{
8
public static void
Main
()
9
{
10
DateTime junk
;
11
var
results
=
from
item
in
"abcd"
12
let
parsed
=
DateTime
.
TryParse
(
"today"
,
out
junk
)
13
select
parsed
?
junk
:
DateTime
.
Now
;
14
}
15
}
16
}