R1D20 Memory Management in C#

| programming | dotnet |

I wrapped up the Object Oriented Programming in C# course on edX with an overiview of memory management in C#.

Object Oriented Programming in C# edX Certificate

Like Java, .NET offers garbage collection but only for “managed” resources. This means that for unmanaged resources like files, network connections, or database connetions, you must perform the garbage collection yourself. This becomes slighly easier with the IDisposable interface, but also makes C# a bit more complex when compared to other langauges.

Looking at things like the IDisposable Interface in the .NET documentation really makes the docs shine. Not only is there detailed information about the various things related to this interface there are also a handful of different types of examples on how you can actually use this thing. It’s one of the best docs I’ve seen and is something I am going to reference and keep in mind as an example of what I wish every document would look like.

Overall I really enjoyed this course. Like the first course it was a bit on the short size, but it was one of the best overviews of Object Oriented Programming that I’ve seen in all of my learning.

Tomorrow I am going to start the last course in this introductory series to C# which is about Data Structures and Algorithms in C#. I am looking forward to wrapping this up so that I can move on to doing some neat things with ASP.NET Core.

Thank you for reading! Share your thoughts with me on mastodon or via email.

Check out some more stuff to read down below.

Most popular posts this month

Recent Favorite Blog Posts

This is a collection of the last 8 posts that I bookmarked.

Articles from blogs I follow around the net

Script Doctoring

I’ve been having a number of communications problems in my interactions with my doctors at Kaiser lately, and it’s becoming one of those things where the burden and onus entirely is placed upon me to sort out, and that’s exhausting for the actually autist…

via Bix Dot Blog October 22, 2024

Blockchain company Forte acquires games studios, demands secrecy, shuts them down

Sometime in 2023, blockchain firm Forte acquired game studios Phoenix Labs and Rumble Games. However, it would be a year before this came to light, because according to a report from Game Developer, Forte demanded secrecy from employ…

via Web3 is Going Just Great October 22, 2024

Initial explorations of Anthropic's new Computer Use capability

Two big announcements from Anthropic today: a new Claude 3.5 Sonnet model and a new API mode that they are calling computer use. (They also pre-announced Haiku 3.5, but that's not available yet so I'm ignoring it until I can try it out myself.) Comp…

via Simon Willison's Weblog: Entries October 22, 2024

Generated by openring