title: Can i use a generic implicit or explicit operator? C#
body: <p>How do i change the following statement so it accepts any type instead of long? Now here is the catch, if there is no constructor i dont want it compiling. So if theres a constructor for string, long and double but no bool how do i have this one line work for all of these support types?</p>
  
  <p>ATM i just copied pasted it but i wouldnt like doing that if i had 20types (as trivial as the task may be)</p>
  
  <pre><code>public static explicit operator MyClass(long v) { return new MyClass(v); }
  </code></pre>