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

test-partial-17.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fbfc0646bbe9907109223e459673a9386f055d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class Test
{
	public static bool Check (string name, string [] names)
	{
		foreach (string partial in names) {
			if (name.StartsWith (partial))
				return true;
		}

		return false;
	}

	public static void Main ()
	{
	}
}