a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
230 B
C#
17 lines
230 B
C#
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 ()
|
|
{
|
|
}
|
|
}
|