title: Convert Bitvector64.Section to Bitvector32
body: <p>I have created the mysec variables for BitVector64. For the version less than 8 I would like to generate the value using the BitVector32</p>
  
  <pre><code>    static BitVector64.Section mySect1;
      static BitVector64.Section mySect2;
      static BitVector64.Section mySect3;
  
  if (versions) &gt; 7)
              mySect2 = BitVector64.CreateSection(14, mySect1);  // V1      - 3 bits
          else
              mySect3 = BitVector32.CreateSection(7, mySect2);
  </code></pre>
  
  <p>What I need now </p>
  
  <ol>
  <li>Mysect2 having value in BitVector64.Section. I need to convert explictity to BitVector32.Section and pass the aruguments.</li>
  </ol>
  
  <p>Below converstion is not working for me</p>
  
  <pre><code>            mySect3 = BitVector32.CreateSection(7, (BitVector32.Section) mySect2);
  </code></pre>
  
  <ol>
  <li>Will get the values in BItVector32.Section for mysect3 need to convert to the BitVector64.Section</li>
  </ol>
  
  <p>Below converstion is not working for me</p>
  
  <pre><code>            mySect3 = BitVector32.CreateSection(7, (BitVector32.Section) mySect2) as BitVector34.Section;
  </code></pre>
  
  <p>or </p>
  
  <pre><code>   mySect3 = (BitVector64.Section) BitVector32.CreateSection(7, (BitVector32.Section) mySect2) ;
  </code></pre>