Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test-486.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 91dd76b4aa08e211674d1bebf16511d853d35993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;

public class Test
{
	public static void Main ()
	{
		string[] aPath = {"a","b"};
		char c = '.';
		if (c.ToString () != ".")
			throw new Exception ("c.ToString () is not \".\"");
		string erg = "";
		erg += String.Join (c.ToString (), aPath);
		if (erg != "a.b")
			throw new Exception ("erg is " + erg);
	}
}