Count Method
Definition
- Namespace
- Cuemon.Extensions
- Assemblies
- Cuemon.Extensions.Core.dll
Count(string, char)
Counts the occurrences of character in the specified value.
public static int Count(this string value, char character)
Parameters
Returns
- int
The number of times the
characterwas found in thevalue.
Exceptions
- ArgumentNullException
valueis null.