title: it's not executing the code inside else if(i==1), why is that happening?
body: <p>its only executing the code inside of the if(i==0) and ignoring the one inside if(i==1) there is also if(i==2) but i removed due to post restrictions im new to this but if i can figuere out why its not executing the code inside of the first else if statement i might be able to fix fix both</p>
  <pre><code> string[][] friendFamily = new string[][]
          {
              new string[]{&quot;khzix&quot;,&quot;rengar&quot;,&quot;shaco&quot; },
              new string[]{&quot;jhin&quot;,&quot;tf&quot;,&quot;karma&quot; },
              new string[]{&quot;qiyanna&quot;,&quot;braum&quot;,&quot;thresh&quot; }
          };
          for (int i = 0; i &lt; friendFamily.Length; i++)
          {
              if (i == 0)
              {
                  for (int x = 0; x &lt; friendFamily[i].Length; x++)
                  {
                      for (int j = 0; j &lt; friendFamily.Length; j++)
                      {
                          if (j == 1 || j == 2)
                          {
                              for (int k = 0; k &lt; friendFamily.Length; k++)
                              {
                                  Console.WriteLine(&quot;hey {0} this is {1}.&quot;, friendFamily[i][x], friendFamily[j][k]);
                              }
                          }
  
                      }
                  }
              }
              else if (i == 1)
              {
                  for (int x = 0; x &lt; friendFamily[i].Length; x++)
                  {
                      for (int j = 0; j &lt; friendFamily.Length; j++)
                      {
                          if (j == 0 || j == 2)
                          {
                              for (int k = 0; k &lt; friendFamily.Length; k++)
                              {
                                  Console.WriteLine(&quot;hey {0} this is {1}.&quot;, friendFamily[i][x], friendFamily[j][k]);
                              }
                          }
  
                      }
                  }
              }
  </code></pre>