BCL (Base Class Library) vs FCL (Framework Class Library)

后端 未结 6 1798
夕颜
夕颜 2020-12-02 07:39

What\'s the difference between the two? Can we use them interchangeably?

6条回答
  •  离开以前
    2020-12-02 08:39

    The following is cited from the book "The C# Player's Guide".

    The BCL contains all of the built-in types, arrays, exceptions, math libraries, basic File I/O, security, collections, reflection, networking, string manipulation, threading, and more. While not a perfect guide, a general rule is that any namespace that start with System is a part of the BCL.

    Beyond the BCL, there are many more classes that Microsoft ships with the .NET Framework. In general, these additional things cover broad functional areas, such as database access or graphical user interfaces (Windows Forms or WPF). This entire collection, including the BCL, is called the Framework Class Library, or FCL. In casual discussion, sometimes people use FCL and BCL interchangeably, which isn’t strictly correct, but it is perhaps good enough for most things.

提交回复
热议问题