13.07.2015 Views

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

C# Language Specification - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>C#</strong> LANGUAGE SPECIFICATIONThe example allocates 256 bytes of memory through Memory.Alloc and initializes the memory block withvalues increasing from 0 to 255. It then allocates a 256-element byte array and uses Memory.Copy to copythe contents of the memory block into the byte array. Finally, the memory block is freed usingMemory.Free and the contents of the byte array are output on the console. end example]End of conditionally normative text.334

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!