API
GC.GetAllocatedBytesForCurrentThread
Measures cumulative managed allocation on the current thread; use a delta for a window.
Formal Syntax & Structure
csharp syntaxcsharp
GC.GetAllocatedBytesForCurrentThread() - beforeWorking Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.GC.GetAllocatedBytesForCurrentThread() - before