OOP #23

toop

We learned about ArrayList and the process of boxing-unboxing. we explored memory type Stack vs Heap and how .NET calls the functions using stack-frame. We saw Generic List class which avoids the boxing-unboxing operations. We got familiar with the LINQ API. finally we implemented a Stack data-type functions using List commands (behind the scenes)

stack.png

More topics covered:

    • Garbage Collector (GC) – memory cleaning
    • Recursion methods – StackOverflow issues
    • Stack frame local variables
    • Typesafe
    • List.Insert
    • List.Count
    • List.RemoveAt
    • List.Clear
    • List implementation uses an Array

Links:

 

Leave a comment