API
Common Intermediate Language
Intermediate instruction representation in ordinary managed assemblies.
Formal Syntax & Structure
csharp syntaxcsharp
var bytes = method.GetMethodBody()?.GetILAsByteArray();Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.var bytes = method.GetMethodBody()?.GetILAsByteArray();