linqクエリの前にストップウォッチを使用し、LINQクエリの後に停止しようとしましたが、linqクエリに2分かかりますが、stopwtachの結果は40 MSになります!!
これはLINQクエリです
Stopwatch stopwatch = Stopwatch.StartNew();
var sets =
from a in patient
from b in patient
from c in patient
from d in patient
from l in patient
where a.VisitNum < b.VisitNum && b.VisitNum < c.VisitNum && c.VisitNum < d.VisitNum && d.VisitNum < l.VisitNum
select new { a, b, c, d, l };
stopwatch.Stop();
なにか提案を ?