• /r/csharp
  • Inline IL

    Does anyone know how to use inline IL in C#? I’ve tried this: https://www.codeproject.com/Articles/438868/Inline-MSIL-in-Csharp-VB-NET-and-Generic-Pointers But I can’t get it working. Does it work for anyone? I’ve also looked at this: http://xoofx.com/blog/2016/05/25/inline-il-asm-in-csharp-with-roslyn/ But it seems to be dead. If anyone has experience with this, let me know. submitted by /u/_Decimation [link] [comments]

  • /r/csharp
  • Classes for session variables?

    I’ve been thinking about how to keep track of session variables in basic webforms development, which I sometimes find difficult even with documentation. I had the idea of creating an entire class, in which I would place any and all session variables. Then, the entire class could be pulled out of the session at the […]