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
2009-10-20 Jb Evain <jbevain@novell.com>
[mcs.git]
/
tests
/
test-486.cs
blob
91dd76b4aa08e211674d1bebf16511d853d35993
1
using
System
;
2
3
public class
Test
4
{
5
public static void
Main
()
6
{
7
string
[]
aPath
=
{"a","b"}
;
8
char
c
=
'.'
;
9
if
(
c
.
ToString
() !=
"."
)
10
throw new
Exception
(
"c.ToString () is not
\"
.
\"
"
);
11
string
erg
=
""
;
12
erg
+=
String
.
Join
(
c
.
ToString
(),
aPath
);
13
if
(
erg
!=
"a.b"
)
14
throw new
Exception
(
"erg is "
+
erg
);
15
}
16
}