title: Error missing namespace or assembly reference
body: <p>I am writing the code right, but getting error - missing namespace or assembly reference.Is there something wrong with the code or I am missing something?</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  
  namespace ConsoleApplication5
  {
      class Program
      {
          static void Main(string[] args)
          {
              int i = 0;
              int sum = 0;
              int[] arr = new int[] { 1, 2 };
  
              do
              {
                  {
                      sum += arr[1];
                      Console.WriteLine("Wow");
                      i++;
                  }
              }
              while (i &lt; 3);
          }
      }
  }
  </code></pre>
  
  <blockquote>
    <p>Error is : Error Cannot initialize type 'int' with a collection initializer because it does not implement 'System.Collections.IEnumerable</p>
  </blockquote>