title: What is the use for Task.FromResult<TResult> in C#
body: <p>In C# and TPL (<a href="http://msdn.microsoft.com/en-us/library/dd460717.aspx">Task Parallel Library</a>), the <code>Task</code> class represents an ongoing work that produces a value of type T.</p>
  
  <p>I'd like to know what is the need for the <a href="http://msdn.microsoft.com/en-us/library/hh194922.aspx">Task.FromResult</a> method ?</p>
  
  <p>That is: In a scenario where you already have the produced value at hand, what is the need to wrap it back into a Task?</p>
  
  <p>The only thing that comes to mind is that it's used as some adapter for other methods accepting a Task instance.</p>