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-02-19 Rodrigo Kumpera <rkumpera@novell.com>
[mcs.git]
/
tests
/
gtest-initialize-04.cs
blob
e78beeef27559f185828667efb4401679fc5f429
1
2
3
using
System
;
4
using
System
.
Collections
.
Generic
;
5
6
public class
C
7
{
8
static readonly
List
<
int
>
values
=
new
List
<
int
>
{ 1, 2, 3 }
;
9
10
public static int
Main
()
11
{
12
if
(
values
.
Count
!=
3
)
13
return
1
;
14
15
Console
.
WriteLine
(
"OK"
);
16
return
0
;
17
}
18
}