1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
!
-
|
|
-
|
!
|
|
-
|
|
|
|
|
!
!
|
.assembly test{}
.method static void Main()
{
.entrypoint
.locals( class Bot b )
newobj instance void Bot::.ctor() stloc b
ldloc b call instance void Bot::talk()
ret
}
.class Bot
{
.method public void .ctor()
{
ret
}
.method public void talk()
{
ldstr "hello"
call void [mscorlib]System.Console::WriteLine( string )
ret
}
}
|
C#では・・・ :
1
2
3
4
5
6
7
8
9
10
11
12
13
|
-
|
|
!
-
|
-
|
!
!
|
void main()
{
Bot b = new Bot();
b.talk();
}
class Bot
{
public void talk()
{
System.Console.WriteLine( "hello" );
}
}
|
|
Last-modified: Mon, 27 Jul 2009 03:06:21 JST