From the course: .NET Fundamentals: Concepts, APIs, and Libraries in the .NET Framework

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

The blurred line between .NET and C#

The blurred line between .NET and C#

- [Instructor] I've said it before, but it bears repeating. Understand that many times, the lines between .NET and C# are blurred. What's really a .NET feature is heralded as a C# feature or vice versa. Microsoft's implementation of C# is heavily integrated with the .NET framework, so it is understandable that the two concepts would be confused. For example, you might read an online article that says C# is a managed language. and it has garbage collection for automatic memory management. The accurate answer is that it is the .NET runtime, the CLR, that manages the application memory and runs the garbage collection to free memory when needed. Does C# benefit from that? Of course, but so does Visual Basic or any other language that uses the .NET runtime. Now let's talk about the new C# record type about which Microsoft says in their documentation, "Records add another way to define types." So did the common type system…

Contents