{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/b/baba_s/20180826/20180826160156.png","categories":["C#"],"provider_url":"https://hatena.blog","blog_title":"\u30b3\u30ac\u30cd\u30d6\u30ed\u30b0","height":"190","author_url":"https://blog.hatena.ne.jp/baba_s/","version":"1.0","url":"https://baba-s.hatenablog.com/entry/2020/09/22/231500","description":"\u6982\u8981 using System; using UnityEngine; internal sealed class Hoge : IDisposable { public void Dispose() { Debug.Log( \"\u30d4\u30ab\u30c1\u30e5\u30a6\" ); } } internal class Example : MonoBehaviour { private void Start() { using ( Hoge hoge = null ) { } } } \u4e0a\u8a18\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u3066\u3082\u3001 using \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u3092\u629c\u3051\u308b\u6642\u306b\u4f8b\u5916\u306f\u767a\u751f\u3057\u306a\u3044","provider_name":"Hatena Blog","published":"2020-09-22 23:15:00","type":"rich","title":"\u3010C#\u3011using \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u6307\u5b9a\u3057\u305f\u5909\u6570\u304c null \u3067\u3082\u629c\u3051\u308b\u6642\u306b\u4f8b\u5916\u306f\u767a\u751f\u3057\u306a\u3044","author_name":"baba_s","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbaba-s.hatenablog.com%2Fentry%2F2020%2F09%2F22%2F231500\" title=\"\u3010C#\u3011using \u30b9\u30c6\u30fc\u30c8\u30e1\u30f3\u30c8\u306b\u6307\u5b9a\u3057\u305f\u5909\u6570\u304c null \u3067\u3082\u629c\u3051\u308b\u6642\u306b\u4f8b\u5916\u306f\u767a\u751f\u3057\u306a\u3044 - \u30b3\u30ac\u30cd\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://baba-s.hatenablog.com/","width":"100%"}