码迷,mamicode.com
首页 > 其他好文 > 详细

3.5 MyLinkedList 实现

时间:2020-08-09 19:12:16      阅读:79      评论:0      收藏:0      [点我收藏+]

标签:rabl   属性   双链表   节点   特殊   lin   删除   list   iterable   

// This try-finally statement only calls Dispose in the finally block.
Font font1 = new Font("Arial", 10.0f);
try
{
    byte charset = font1.GdiCharSet;
}
finally
{
    if (font1 != null)
    {
        ((IDisposable)font1).Dispose();
    }
}

// You can do the same thing with a using statement.
using (Font font2 = new Font("Arial", 10.0f))
{
    byte charset = font2.GdiCharSet;
}

3.5 MyLinkedList 实现

标签:rabl   属性   双链表   节点   特殊   lin   删除   list   iterable   

原文地址:https://www.cnblogs.com/TedXiong/p/13463668.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!