title: default parameter specifiers are not permitted error in c# 2.0
body: <p>I am getting this error in following block of code of my program. I am using c# with .net 2.0. It is showing this error in <i>decimals =2 </i> in first line of the code. Please help</p>
  
  <pre><code> private string formatSizeBinary(Int64 size, Int32 decimals = 2)
      {
          string[] sizes = { "Bytes", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB" };
          double formattedSize = size;
          Int32 sizeIndex = 0;
          while (formattedSize &gt;= 1024 &amp; sizeIndex &lt; sizes.Length)
          {
              formattedSize /= 1024;
              sizeIndex += 1;
          }
          return string.Format("{0} {1}", Math.Round(formattedSize, decimals).ToString(), sizes[sizeIndex]);
      }
  </code></pre>