Home

  • Test con Rhino Mocks

    Tags: C#, RhinoMocks, Testing

    public static class Extensions

    {

    public static int CalculateHash(this List myList) where T : IEquatable

    {

    if (myList.Count == 0) return 0;

    unchecked

    {

    return myList.Aggregate(0, … more