When working with tasks you will get a warning if you do not use a task returned from a method. However, you might actually want to fire and forget that task. So what do you do?
One option is to create an extension method for your task to mark it as fire and forget. Aside from removing the warning, it also gives you the nice ability to find all usages.
Implementation and Unit Test
public static class TaskExtensions
public static void FireAndForget(this Task task)
// Do Nothing
public class TaskExtensionTests
public void FireAndForget()
// TODO: Stuff!