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
Fix DateTime.Now and CurrentTimeToUtc during DST transition time (#4172)
[mono-project.git]
/
mcs
/
tests
/
test-null-operator-10.cs
blob
1822fb76a66deb9e11bba5bf4676320d480231a9
1
using
System
;
2
3
class
Event
4
{
5
public string
Name { get; set; }
6
public string
Foo { get; set; }
7
}
8
9
class
X
10
{
11
public static void
Main
()
12
{
13
var
evt
=
new
Event
();
14
string
str
= (
evt
.
Foo
!=
null
?
evt
?.
Name
:
""
).
Trim
();
15
}
16
}