.class private auto ansi zzz {
.method public hidebysig static void vijay() il managed {
.entrypoint
ldstr "hell"
call void System.Console::WriteLine(class System.String)
ret
}
}
private:限制存取範圍於當前組件/類別auto:記憶體配置由執行階段決定ansi:非託管互操作時字串編碼轉換為 ANSI(單位元組).class private auto ansi zzz extends System.Object { ... }
明確指定基類為 System.Object,行為與隱含繼承相同。