• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

EdithZone .NET Blog

O,My God!
  • 博客园
  • 联系
  • 订阅
  • 管理

公告

View Post

看.net的内部

    public interface IEnumerable

    {

        IEnumerator GetEnumerator();

    }

    public interface IEnumerator

    {

        object Current

        {

            get;

        }

        bool MoveNext();

        void Reset();

    }

    public interface ICollection:IEnumerator

    {

        int Count{get;  }

        object SyncRoot{get;}

        bool IsSynchronized{get;}

        void CopyTo(Array array,int index);

    }

    public interface IList:ICollection,IEnumerator

    {

        object this[int index]

        {

            get;

            set;

        }

        bool IsReadOnly

        {

            get;

        }

        bool IsFixedSize

        {

            get;

        }

        int Add(object value);

        bool Contains(object value);

        void Clear();

        int IndexOf(object value);

        void Insert(int index,object value);

        void Remove(object value);

        void RemoveAt(int index);

 

    }

如上,想看到.NET类的内部,可以通过.NET Framework 工具“WinCV.exe”、WebMatrix;如果想看每个方法的源码,再装上Reflector就可以了!

posted on 2005-04-02 17:32  Hotdog  阅读(204)  评论(0)    收藏  举报

刷新页面返回顶部
 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3