Why T cannot be a byte[]? See the description at http://ift.tt/25pYUBS
byte[] one = { 0x1, 0x2, 0x3, 0x4, 0x5 };
byte[] two = { 0x1, 0x2, 0x3, 0x4, 0x5 };
//don't fail
Assert.AreEqual(Convert.ToBase64String(one), Convert.ToBase64String(two));
//fail
Assert.AreEqual<byte[]>(one, two);
Aucun commentaire:
Enregistrer un commentaire