Skip to content

Instantly share code, notes, and snippets.

@Sergio0694
Created September 20, 2019 13:40
Show Gist options
  • Save Sergio0694/5f8bdcaa0fcb54f54ab320a3f9c7584b to your computer and use it in GitHub Desktop.
Save Sergio0694/5f8bdcaa0fcb54f54ab320a3f9c7584b to your computer and use it in GitHub Desktop.
[CompilerGenerated]
private sealed class <>c__DisplayClass0_0
{
public int[] array;
public int value;
internal void <Main>b__0(int i)
{
array[i] = value;
}
}
public void Main()
{
<>c__DisplayClass0_0 <>c__DisplayClass0_ = new <>c__DisplayClass0_0();
<>c__DisplayClass0_.array = new int[100];
<>c__DisplayClass0_.value = 1;
Action<int> action = new Action<int>(<>c__DisplayClass0_.<Main>b__0);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment