我只想将所有这些查询作为单个查询运行。
string[] arrs = new string[] { ".sds", ".pps", "tbt", "dd." };
string[] val= (from string i in arrs
where !i.StartsWith(".")
select "."+i).ToArray();
string[] val1 = (from i in arrs
where i.StartsWith(".")
select i).ToArray();
var p = val1.Union(val);//get value in single array.e