Conclusion

Well done! You just learned the power and usage of classes, and saved your fridge from being overrun by Evil Tomatoes. You should be proud of yourself!

However, this just scratched the surface. In the next few lessons, you’ll learn more about the properties of these classes, constructing your own class instances and more. Finally, the key takeaway points from this lesson:

  • Classes are named types that can have properties and methods.
  • Classes use references shared on assignment, which are reference types.
  • Class instances are mutable.
  • Reference type class instances are stored in memory heaps.
  • References of these class instances are stored in memory stacks.
See forum comments
Download course materials from Github
Previous: Demo Next: Quiz: Define Classes