title: Structs, Interfaces and Boxing
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/63671/is-it-safe-for-structs-to-implement-interfaces">Is it safe for structs to implement interfaces?</a>  </p>
  </blockquote>
  
  
  
  <p>Take this code:</p>
  
  <pre><code>interface ISomeInterface
  {
      public int SomeProperty { get; }
  }
  
  struct SomeStruct : ISomeInterface
  {
      int someValue;
  
      public int SomeProperty { get { return someValue; } }
  
      public SomeStruct(int value)
      {
          someValue = value;
      }
  }
  </code></pre>
  
  <p>and then I do this somewhere:</p>
  
  <pre><code>ISomeInterface someVariable = new SomeStruct(2);
  </code></pre>
  
  <p>is the <code>SomeStruct</code> boxed in this case?</p>