Monday, August 15, 2011

How can you find average of student marks from student tables (Columns are StudentID, Marks)?

Public void LinqToSqlAverage()
{
var query = (from p in db. student. Marks).Average();

Console.WriteLine(q);
}

No comments:

Post a Comment