repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
tests
/
gtest-anontype-09.cs
blob
f47422acaf64556f3b785bbeac0fddaf112f2bc2
1
using
System
;
2
3
namespace
My
.
System
4
{
5
static class
Test
6
{
7
public static int
Main
()
8
{
9
var
a
=
new
{ X = 1 }
;
10
Console
.
WriteLine
(
a
);
11
12
var
foo
=
new
{ Value = default(string) }
;
13
if
(
foo
.
Value
!=
null
)
14
return
1
;
15
16
return
0
;
17
}
18
}
19
}