DEV Community

Discussion on: Interview question: async & await (C#)

Collapse
 
juant72 profile image
Juan Tapia

"..The Dispose() method is not supposed to be invoked manually, a task will be disposed automatically when you await it or when it's reclaimed by the GC..."

This is valid for Finalize() not for Dispose()