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

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

class Test
{
	public static void Main ()
	{
		string s = "test me";
		foreach (char c in s)
			Console.WriteLine (c);

		Foo ();
	}

	static void Foo ()
	{
		string [,] s = new string [,] { { "a", "b" }, { "c", "d" } };
		foreach (string c in s)
			Console.WriteLine (c [0]);
	}
}