Levenshtein distance method throwing `IndexOutOfRangeException` [Answered] - C#