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
/
gtest-optional-16.cs
blob
84934f7c8e891b273d35cee825fcac079f219bcc
1
using
System
;
2
3
class
MainClass
4
{
5
private static int
TestParams
(
object
ob
=
null
,
params object
[]
args
)
6
{
7
if
(
ob
!=
"a"
)
8
return
1
;
9
10
if
(
args
.
Length
!=
4
)
11
return
2
;
12
13
foreach
(
object
o
in
args
) {
14
Console
.
WriteLine
(
o
);
15
}
16
17
return
0
;
18
}
19
20
public static int
Main
()
21
{
22
return
TestParams
(
"a"
,
"b"
,
"c"
,
"d"
,
"e"
);
23
}
24
}