text stringlengths 0 13.4k |
|---|
2D 34 30 32 32 2D 61 66 63 63 2D 33 66 38 65 33 // -4022-afcc-3f8e3 |
32 33 33 63 35 62 30 00 00 ) // 233c5b0.. |
.custom instance void [mscorlib]System.Reflection.AssemblyFileVersionAttribute::.ctor(string) = ( |
01 00 07 31 2E 30 2E 30 2E 30 00 00 ) // ...1.0.0.0.. |
.custom instance void [mscorlib]System.Runtime.Versioning.TargetFrameworkAttribute::.ctor(string) |
= ( 01 00 1C 2E 4E 45 54 46 72 61 6D 65 77 6F 72 6B // ....NETFramework |
2C 56 65 72 73 69 6F 6E 3D 76 34 2E 35 2E 32 01 // ,Version=v4.5.2. |
00 54 0E 14 46 72 61 6D 65 77 6F 72 6B 44 69 73 // .T..FrameworkDis |
70 6C 61 79 4E 61 6D 65 14 2E 4E 45 54 20 46 72 // playName..NET Fr |
61 6D 65 77 6F 72 6B 20 34 2E 35 2E 32 ) // amework 4.5.2 |
.hash algorithm 0x00008004 |
.ver 1:0:0:0 |
} |
.module HelloWorld.exe |
// MVID: {2A7E1D59-1272-4B47-85F6-D7E1ED057831} |
.imagebase 0x00400000 |
.file alignment 0x00000200 |
.stackreserve 0x00100000 |
.subsystem 0x0003 // WINDOWS_CUI |
.corflags 0x00020003 // ILONLY 32BITPREFERRED |
// Image base: 0x0000021C70230000 |
// =============== CLASS MEMBERS DECLARATION =================== |
.class private auto ansi beforefieldinit HelloWorld.Program |
extends [mscorlib]System.Object |
{ |
.method private hidebysig static void Main(string[] args) cil managed |
{ |
.entrypoint |
// Code size 13 (0xd) |
.maxstack 8 |
IL_0000: nop |
IL_0001: ldstr "Hello World" |
IL_0006: call void [mscorlib]System.Console::WriteLine(string) |
IL_000b: nop |
IL_000c: ret |
} // end of method Program::Main |
.method public hidebysig specialname rtspecialname |
instance void .ctor() cil managed |
{ |
// Code size 8 (0x8) |
.maxstack 8 |
IL_0000: ldarg.0 |
IL_0001: call instance void [mscorlib]System.Object::.ctor() |
IL_0006: nop |
IL_0007: ret |
} // end of method Program::.ctor |
} // end of class HelloWorld.Program |
GoalKicker.com – .NET Framework Notes for Professionals |
119 |
Generated with MS ILDASM tool (IL disassembler) |
GoalKicker.com – .NET Framework Notes for Professionals |
120 |
Chapter 37: CLR |
Section 37.1: An introduction to Common Language Runtime |
The Common Language Runtime (CLR) is a virtual machine environment and part of the .NET Framework. It |
contains: |
A portable bytecode language called Common Intermediate Language (abbreviated CIL, or IL) |
A Just-In-Time compiler that generates machine code |
A tracing garbage collector that provides automatic memory management |
Support for lightweight sub-processes called AppDomains |
Security mechanisms through the concepts of verifiable code and trust levels |
Code that runs in the CLR is referred to as managed code to distinguish it from code running outside the CLR |
(usually native code) which is referred to as unmanaged code. There are various mechanisms that facilitate |
interoperability between managed and unmanaged code. |
GoalKicker.com – .NET Framework Notes for Professionals |
121 |
Chapter 38: TPL Dataflow |
Section 38.1: Asynchronous Producer Consumer With A |
Bounded BuerBlock |
var bufferBlock = new BufferBlock<int>(new DataflowBlockOptions |
{ |
BoundedCapacity = 1000 |
}); |
var cancellationToken = new CancellationTokenSource(TimeSpan.FromSeconds(10)).Token; |
var producerTask = Task.Run(async () => |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.