Array array = (from member in container.Member join payment in container.Payment on member.MemberCode equals payment.MemberCode select new { member.Name, member.Rank, payment.DatePaid, payment.Remarks }).ToArray();
string nm = string.Empty; string dp = string.Empty; foreach(Member m in array) { nm = m.Name; dp = m.DatePaid //It can't }
...select new classname { Name=Memeber.name, ....
foreach(classname m in array)...
var array=(from...
foreach(var m in array)...
foreach(dynamic m in array)...
var array = (from member ... foreach(var t in array){ }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)