LINQ Average Example using C# Form – Programming, Pseudocode Example, C# Programming Example
Windows Form

LINQ Average Example using C# Form

In this example, I will show how to average row value using LINQ in C# Windows Form.

I have shown a very simple example to average total value from list. I have created a two classes one student and another student Mark to provide temporary data to grid view .In this case student and student-Mark class has a parent and child class relationship to each other. Hear I will find average number each student using LINQ Average() Method.

Output:

LINQ Average Example using C# Form
LINQ Average Example using C# Form

Student.cs

StudentMark.cs

Form.cs

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: