title: NUnit. Values differs at index [0]
body: <p>I'm running a test, but if fails I don't know why:</p>
  
  <pre><code>Proj.Tests.StatTests.GetResults_RegularPage_ReturnListOfResults:
    Expected and actual are both &lt;System.Collections.Generic.List`1[Proj.Classes.StatResult]&gt; with 50 elements
    Values differ at index [0]
    Expected: &lt;test;98318&gt;
    But was:  &lt;test;98318&gt;
  </code></pre>
  
  <p>As you can see values are identical.
  Here is some code:</p>
  
  <pre><code>public class StatResult
      {
          public string word { get; set; }
          public UInt64 views { get; set; }
  
          public override string ToString()
          {
              return String.Format("{0};{1}", word, views);                
          }
      }    
  
      [Test]
      public void GetResults_RegularPage_ReturnListOfResults()
      {
          // Arrange            
          WordStat instance = new WordStat(Constants.WordStatRegularPage);
          // Act
          List&lt;StatResult&gt; results = instance.GetResults();
          // Assert
          Assert.AreEqual(results, new List&lt;StatResult&gt;
          {
              new WordStatResult { word ="test", views = 98318},
              new WordStatResult { word ="test board", views = 7801},
              //... I shorted it
          }
  </code></pre>
  
  <p>}</p>
  
  <p>I tried a lot ways even putting test sample right into class, but it doesn't work anyway.
  Please help!</p>