Code Farmer's Home
  •  首页
  •  Programming Q&A
  •  Digital
  •  登录
  1. 标签
  2. cDoes the garbage collector know
  • c# - Does the garbage collector know to dispose variables located in a lambda-captured scope? - Stack Overflow

    In this C# example, will the garbage collector dispose of hugeString after TestClass is instantiated?F
    cDoes the garbage collector know to dispose variables located in a lambdacaptured scopeStack Overflow
    admin2月前
    190
CopyRight © 2025 All Rights Reserved
Processed: 0.039, SQL: 9