private AggregateHistory_SF_SourceEmpty ( ) : void | ||
리턴 | void |
public void AggregateHistory_SF_SourceEmpty ()
{
IEnumerable<int> s = new int[]{};
Func<int,int,int> f = (a,b) => a-b;
// need .Apply() as check for empty source is delayed until enumeration.
s.AggregateHistory (f).Apply ();
}