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
In class/Microsoft.Build.Tasks/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-partial-17.cs
blob
1fbfc0646bbe9907109223e459673a9386f055d8
1
public class
Test
2
{
3
public static bool
Check
(
string
name
,
string
[]
names
)
4
{
5
foreach
(
string partial in
names
) {
6
if
(
name
.
StartsWith
(
partial
))
7
return true
;
8
}
9
10
return false
;
11
}
12
13
public static void
Main
()
14
{
15
}
16
}