Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: void IncrementSymbolFrequency(int, int)

Declaration

public void IncrementSymbolFrequency(
    int symbol,
    int incrementBy = 1
)

Summary

Updates the frequency of the specified symbol by adding incrementBy to it.

Parameters

intsymbol The symbol whose frequency is to be updated.
intincrementBy The value to be added to the current frequency. This can be negative. If the symbol frequency becomes negative, an ArgumentException is thrown.