Click or drag to resize
Sandcastle XML Comments GuideSampleClassAverageValues Method
These methods are used to compute the average of enumerable lists of integers
Overload List
Remarks
These methods serve no other purpose than to demonstrate the use of the overloads XML comments element.
Examples
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}));
See Also