What are the differences between BCL and FCL?

Asked

Viewed 242 times

9

The Base Class Library (BCL) Framework Class Library (FCL) are components of the .NET. This defines what each one does?

What goes into each one?

1 answer

7


BCL is the same base library, as its name says. It contains everything that is fundamental to working with . NET, including all the infrastructure that the C#language, and those that are very similar, will use directly.

It is part of the CLI (Common Language Infrastructure) specification and can be used by any language that is built on top of the . NET or other CLI implementation.

Any other implementation of the CLI must have all BCL. Examples of what is in it are all the basic types of language, IO, collections, attributes, basic exceptions, delegates, etc.

The FCL is what comes additionally and does not need to exist obligatorily in a CLI implementation. It helps in more specific tasks that are not so basic. We can thus consider the manipulation of XML, Winforms, WPF, ASP.NET, ADO.NET etc. BCL is one of the components of FCL.

Note that Mono or . NET Core do not have several of these components and are still CLI compliant.

In the complete infrastructure diagram the difference can be seen:

BCL X FCL

This became less important with the decline of the . NET Framework. O . NET Core has a slightly different organization and the components that are classified as FCL are more independent.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.