c# - Finding Best Matches in Two Lists -


i have 2 lists of string, need locate 1 string 1 of them , 1 string other list, best match each other among matches between 2 lists.

i create list <tuple<string, string, int>> holds strings of both lists , distance, costly in memory.

would not if easier more object-oriented?

public class match {     public string value1 { get; set; }      public string value2 { get; set; }      public int distance { get; set;}  } 

and have

list<match>  

Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -