title: Practical use of `stackalloc` keyword
body: <p>Has anyone ever actually used <code>stackalloc</code> while programming in C#? I am aware of what is does, but the only time it shows up in my code is by accident, because Intellisense suggests it when I start typing <code>static</code>, for example.</p>
  
  <p>Although it is not related to the usage scenarios of <code>stackalloc</code>, I actually do a considerable amount of legacy interop in my apps, so every now and then I could resort to using <code>unsafe</code> code. But nevertheless I usually find ways to avoid <code>unsafe</code> completely.</p>
  
  <p>And since stack size for a single thread in .Net is ~1Mb (correct me if I'm wrong), I am even more reserved from using <code>stackalloc</code>.</p>
  
  <p>Are there some practical cases where one could say: "this is exactly the right amount of data and processing for me to go unsafe and use <code>stackalloc</code>"?</p>