Method HammingDistance
HammingDistance(Word, Word)
Calculates the hamming distance between two pre-split words using a given alphabet.
public static int HammingDistance(Word word1, Word word2)Parameters
Returns
Exceptions
- ArgumentNullException
- word1or- word2is null
- InvalidOperationException
- word1and- word2are not the same length