Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C# C# Basics (Retired) Perfect Documentation

Ranvir Sahota
Ranvir Sahota
9,844 Points

.Net Framework a Runtime Libary?

When I was looking to understand .Net Framework more I came across this post http://stackoverflow.com/questions/2724864/what-is-the-difference-between-c-sharp-and-net But I'm left with more questions. What is a Runtime Libary? Why is called a Framework and a runtime Libary?

1 Answer

James Churchill
STAFF
James Churchill
Treehouse Teacher

Ranvir,

".NET" is a very broad term that typically refers to the various technologies that are part of or related to the .NET Framework. The .NET Framework is both a library and a runtime.

A "library" is a collection of functions that you can leverage in your applications to accomplish common programming tasks. An example would be reading a file off of the disk.

A "runtime" is the environment that runs your application. The runtime is responsible for starting and managing the execution of your application. A "runtime library" is a library that is used by the runtime.

Thanks ~James