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
2007-05-25 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
gtest-301.cs
blob
e2a333bfd66cdb10f77b69bad141052de1c609e6
1
// Compiler options: -r:gtest-301-lib.dll
2
3
using
System
;
4
5
public class
Test
6
{
7
[
STAThread
]
8
public static void
Main
(
string
[]
args
)
9
{
10
IShape shape
;
11
12
object
[]
cargs
=
new object
[
1
]
{ "Circle" }
;
13
shape
=
Factory
<
IShape
>.
CreateInstance
(
cargs
);
14
}
15
16
interface
IShape
17
{
18
}
19
}
20