Answers

Question and Answer:

  Home  LINQ

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

(C#)

Public void LinqToSqlAverage()

{

var query = (from p in db. student. Marks).Average();

Console.WriteLine(q);

}

 194 views

More Questions for you: