title: Struggling with the usage of List and ArrayList
body: <p>I am trying the following codes to suffle the elements of an <code>ArrayList</code>- <code>questionsAndSeperators</code>. I am doing this with two ways.<br>
  <strong>Method 1:-</strong></p>
  
  <pre><code>List&lt;Question&gt; questionList = this.questionsAndSeperators.Cast&lt;Question&gt;().ToList();
  
  Random rng = new Random();
  int questionCount = questionList.Count;
  while (questionCount &gt; 1)
  {
     questionCount--;
     int index = rng.Next(questionCount + 1);
     Question value = questionList[index];
     questionList[index] = questionList[questionCount];
     questionList[questionCount] = value;
  }
  </code></pre>
  
  <p><strong>Method 2:-</strong></p>
  
  <pre><code>ArrayList questionList = this.questionsAndSeperators;
  
  Random rng = new Random();
  int questionCount = questionList.Count;
  while (questionCount &gt; 1)
  {
     questionCount--;
     int index = rng.Next(questionCount + 1);
     object value = questionList[index];
     questionList[index] = questionList[questionCount];
     questionList[questionCount] = value;
  }
  </code></pre>
  
  <p>Here <code>Question</code> is a class.<br>
  <strong>Method 2</strong> is working fine and suffling the elements of <code>questionsAndSeperators</code>, but <strong>Method 1</strong> is not able to suffle the elements of <code>questionsAndSeperators</code>. What is the problem with <strong>Method 1</strong>?? 
  Am I doing something wrong in method 1?</p>