Back to Browse

12 ObjectClass Composition IDisposable Deep ShallowCopy

52 views
Jan 27, 2026
1:00:57

In this session, we explore the **`System.Object` class in C#**, its core methods, and essential object-oriented concepts including equality comparison, hashing, cloning, and resource management. You will gain a clear conceptual understanding of how every type in .NET inherits from `Object`, how equality works, why `GetHashCode()` matters, and how to properly manage resources using `IDisposable`. The session also covers shallow vs deep copy and object relationships in OOP. πŸ“Œ Chapters 00:00 – Introduction & Session Overview Overview of topics and recap of key OOP foundations. 00:01:30 – The Object Class in .NET Understanding `System.Object`, `ToString()`, `GetType()`, and default behaviors inherited by all types. 00:08:20 – Equality in C# `Equals()`, `ReferenceEquals()`, `==` operator, and best practices for overriding equality methods. 00:19:30 – GetHashCode & Hashing Concept Hash code contract, importance in collections, and relationship with `Equals()`. 00:23:30 – Resource Management in .NET Garbage collection, finalizers, `IDisposable`, and the `using` statement. 00:32:40 – Object Cloning in C# `MemberwiseClone()`, shallow copy vs deep copy, and `ICloneable`. 00:41:30 – HAS-A Relationships in OOP Association, aggregation, composition, and design considerations. 01:00:30 – Summary & Key Takeaways Recap of object fundamentals and design best practices.

Download

1 formats

Video Formats

360pmp489.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

12 ObjectClass Composition IDisposable Deep ShallowCopy | NatokHD