{"version":"1.0","published":"2007-12-10 21:55:23","image_url":null,"provider_name":"Hatena Blog","title":"IDisposable(2)","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbleis-tift.hatenablog.com%2Fentry%2F20071210%2F1197291323\" title=\"IDisposable(2) - \u3050\u308b\u3050\u308b\uff5e\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","blog_url":"https://bleis-tift.hatenablog.com/","height":"190","categories":["C#",".NET","Memo"],"blog_title":"\u3050\u308b\u3050\u308b\uff5e","provider_url":"https://hatena.blog","description":"Dispose\u30e1\u30bd\u30c3\u30c9\u304c\u4f8b\u5916\u3067\u843d\u3061\u305f\u3068\u304d\u3067\u3082\u4ed6\u306eDispose\u30e1\u30bd\u30c3\u30c9\u304c\u547c\u3070\u308c\u308b\u304b\u3069\u3046\u304b\u3002 using System; class Program : IDisposable { private static int count = 0; private readonly int id = count++; public void Dispose() { Console.WriteLine(\"dispose {0}\", id); throw new Exception(\"The method or operation is not implemented.\"); } static void M\u2026","author_name":"bleis-tift","width":"100%","url":"https://bleis-tift.hatenablog.com/entry/20071210/1197291323","author_url":"https://blog.hatena.ne.jp/bleis-tift/"}