title: display full text in a label in c#
body: <p>i have a <code>label</code> control in <code>windows form</code>. i want to display full text in the <code>label</code> . condition is like this:</p>
  
  <ul>
  <li>if text length exceeds more that 32 character than it will come in the new line.</li>
  <li><p>if possible split by full word, without hyphen(-). </p>
  
  <p>So far i have reach till below code:</p>
  
  <pre><code>   private void Form1_Load(object sender, EventArgs e)
      {
          string strtext = "This is a very long text. this will come in one line.This is a very long text. this will come in one line.";
          if (strtext.Length &gt; 32)
          {              
              IEnumerable&lt;string&gt; strEnum = Split(strtext, 32);
              label1.Text =string.Join("-\n", strEnum);
          }         
      }
      static IEnumerable&lt;string&gt; Split(string str, int chunkSize)
      {
          return Enumerable.Range(0, str.Length / chunkSize)
              .Select(i =&gt; str.Substring(i * chunkSize, chunkSize));
      }
  </code></pre></li>
  </ul>
  
  <p>but issue is that the last line is not displaying entirely because its splitting by 32 character.</p>
  
  <p>Is there another way to achieve this?</p>