title: c# Convert struct to another struct
body: <p>Is there any way, how to convert this:</p>
  
  <pre><code>namespace Library
  {
      public struct Content
      {
          int a;
          int b;
      }
  }
  </code></pre>
  
  <p>I have struct in Library2.Content that has data defined same way
  (<code>{ int a; int b; }</code>), but different methods.</p>
  
  <p>Is there a way to convert a struct instance from Library.Content to Library2.Content?  Something like:</p>
  
  <pre><code>Library.Content c1 = new Library.Content(10, 11);
  Library2.Content c2 = (Libary2.Content)(c1); //this doesn't work
  </code></pre>