Sandcastle XML Comments Guide
![]() |
SampleClassAverageValues Method |
These methods are used to compute the average of enumerable lists of integers

Name | Description | |
---|---|---|
![]() ![]() |
AverageValues(IEnumerableDouble) |
This is used to average an enumerable list of values
|
![]() |
AverageValues(IEnumerableDouble, IEnumerableDouble) |
This is used to get the average of two enumerable list of values
|

These methods serve no other purpose than to demonstrate the use of the
overloads XML comments element.

C#
SampleClass sc = new SampleClass(0); Console.WriteLine("Average: {0}", sc.Average(new[] { 1, 2, 3, 4 })); Console.WriteLine("Average: {0}", sc.Average(new[] { 1, 2, 3, 4 }, new[] { 10, 20, 30, 40}));
