title: Convert type in setter method, possible? When yes how?
body: <p>guess I wanted to gernerate a commandline with flags and so on. Flags are of type bool but the commandline is a string like " /activeFlag". Is there a way to program a setter in C# which takes a bool but the getter returns a string?</p>
  
  <p>like</p>
  
  <pre><code>private string activeFlag {
   get { return activeFlag; }
   set {
      // the value here should be the bool
      activeFlag = value ? " /activeFlag" : "";
   }
  }
  </code></pre>