using System;
public class MyClass
{
public unsafe static void Main()
{
int * buf = stackalloc int [5];
for(int i = 0; i < 5; i++)
buf[i] = i;
for(int i = 0; i < 5; i++)
Console.WriteLine(buf[i]);
}
}