Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'source.ilasm':
- 'New Program Boilerplate':
- 'prefix': 'boilerplate'
- 'body': """.assembly extern mscorlib {}
- .assembly Program {}
- .module Program.exe
- .class public auto ansi beforefieldinit Program extends [mscorlib]System.Object
- {
- .method public static void Main(string[] args) cil managed
- {
- .entrypoint
- newobj instance void Program::.ctor()
- call instance void Program::Run()
- ret
- }
- .method public hidebysig specialname instance void .ctor() cil managed
- {
- // This is the constructor
- ret
- }
- .method public instance void Run() cil managed
- {
- // This is the Run() method. Effectively main().
- ldstr "Hello world!"
- call void [mscorlib]System.Console::WriteLine(string)
- ret
- }
- }
- """
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement