TaherHassan
Member
- Joined
- Sep 24, 2019
- Messages
- 5
- Programming Experience
- 10+
In C# would it be good practice to free up unmanaged resources in the destructor for an object ? That way the Garbage Collector will do it and the object has a consistent state ? You could if you needed to have a separate contained object for unmanaged resources ? I'm not sure why you would use IDisposable necessarily ..... what do you think please ?
Many thanks and regards, TaherHassan
Many thanks and regards, TaherHassan