title: Write-Host -ForegroundColor Green equivalent in PSCmdlet in C#
body: <p>I'm writing a Cmdlet in C#.</p>
  
  <p>At some points I want to have a colored output like PowerShell command:</p>
  
  <pre><code>Write-Host "Message" -ForegroundColor Green
  </code></pre>
  
  <p>My C# code is like this:</p>
  
  <pre><code>public class MyCmdlet : PSCmdlet
  {
      protected override void ProcessRecord()
      {
          // Something like: WriteHost("Message", Color.Green);
          // ...
      }
  }
  </code></pre>
  
  <p>but the only options are <code>Write-Warning</code>, <code>Write-Error</code>, <code>Write-Object</code>, ...</p>
  
  <p>So my question is:</p>
  
  <p><strong>Question:</strong> How can I put some lot on the output with colors?</p>