In C#, is there a way to have a function called, without storing any kind of memory variable - just an async callback - or even a lambda function, that will call back in a supplied time in milliseconds. A 2nd criteria is that the object it calls back may no longer exist.
I'm interested in this because I'd like to schedule animations to occur without knowing if the user will exit the app. I want the callback to die gracefully and would love to know a way to write this code super-simply if possible.
Thank you very much,