Csharp/CSharp Tutorial/unsafe/stackalloc
Версия от 15:31, 26 мая 2010; (обсуждение)
Alloate a chuck on the stack
You can allocate memory from the stack by using stackalloc.
stackalloc can be used only when initializing local variables.
stackalloc has this general form:
type *p = stackalloc type[size]