Simplest way to do a fire and forget method in C#?

ThreadPool.QueueUserWorkItem(o => FireAway());

(five years later…)

Task.Run(() => FireAway());

as pointed out by luisperezphd.

Leave a Comment