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
|
-
|
|
|
|
|
|
|
|
|
|
|
|
!
-
|
|
!
|
.assembly test{}
.method static void Main()
{
.entrypoint
ldstr "1.0a" stsfld string Bot::_version
ldsfld string Bot::_version call void [mscorlib]System.Console::WriteLine( string )
ret
}
.class Bot
{
.field public static string _version
}
|
C#では・・・ :
1
2
3
4
5
6
7
8
9
10
|
-
|
|
!
-
|
!
|
void main()
{
Bot._version = "1.0a";
Console.WriteLine(Bot._version);
}
class Bot
{
public static string _version;
}
|
参照 †
|
Last-modified: Mon, 27 Jul 2009 03:06:22 JST