title: Enum vs Dictionary usage in C#
body: <p>I am working on an abstract class called "GenericReceiver" containing an enum called "Status." It contains failure codes for the receivers as follows:     </p>
  
  <pre><code>public enum Status
      {
          Fault1 = 0x0,                  // 00
          Fault2 = 0x201,                // 513
          //etc
  </code></pre>
  
  <p>These fault codes are not standardized across the receivers (although some are shared), so I cannot make the entire enum a member of the abstract class. However there are quite a few fault codes and I'd like to reduce code duplication as much as possible. </p>
  
  <p>I considered using a dictionary instead and inheriting the shared fault codes. I would then add the remaining fault codes. The problem that arises is that the fault codes should not be able to be changed at runtime, hence the original enum implementation.</p>
  
  <p>Is there any way to concatenate two enums or convert a dictionary to an enum?</p>