2つの文字列配列を最速で比較したいと思います。
私は以下のようなものを手に入れました。
それが正しい方法でしょうか。または、より良い方法はありますか
bool matching=false;
//say templateArr is the template array and dataArr as array to be compared
string[] templateArr = {"Dictionary_type","Translation_EN" };
string[] dataArr = { "Dictionary_type", "Translation_EN" };
if (templateArr.Union(dataArr).Distinct().Count() == templateArr.Count())
matching = true;