{"description":"System.Runtime.InteropServices\u540d\u524d\u7a7a\u9593\u306eGCHandle\u306fDispose\u3092\u5b9f\u88c5\u3057\u306a\u3044\u306e\u3067using\u975e\u5bfe\u5fdc\u3067\u3059\u304c\u3001\u30b8\u30a7\u30cd\u30ea\u30af\u30b9\u7248\u306eGCHandle<T>\u3001PinnedGCHandle<T>\u3001WeakGCHandle<T>\u306fDispose\u3092\u5b9f\u88c5\u3057\u3066using\u5bfe\u5fdc\u3067\u3059\u3002.NET 10\u304b\u3089\u8ffd\u52a0\u3055\u308c\u3066\u3044\u305f\u3088\u3046\u3067\u3059\u3002 using System.Runtime.InteropServices; var list = new List<nint>([0, 1, 2, 3, 4]); using var listNormalHandle = new GCHandle<List<ni\u2026","image_url":null,"width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpotisan-programming-memo.hatenablog.jp%2Fentry%2F2026%2F09%2F28%2F204229\" title=\"C# GCHandle&lt;T&gt;\u30d5\u30a1\u30df\u30ea\u306fusing\u5bfe\u5fdc - potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2026-09-28 20:42:29","title":"C# GCHandle<T>\u30d5\u30a1\u30df\u30ea\u306fusing\u5bfe\u5fdc","blog_title":"potisan\u306e\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30e1\u30e2","author_url":"https://blog.hatena.ne.jp/potisan/","provider_url":"https://hatena.blog","categories":["C#"],"type":"rich","author_name":"potisan","height":"190","url":"https://potisan-programming-memo.hatenablog.jp/entry/2026/09/28/204229","provider_name":"Hatena Blog","blog_url":"https://potisan-programming-memo.hatenablog.jp/","version":"1.0"}