Algs4Net Class Library Documentation
Algs4Net Class Library Documentation
Algs4Net
Alphabet Class
Alphabet Methods
Contains Method
MainTest Method
ToChar Method
ToChars Method
ToIndex Method
ToIndices Method
Alphabet
ToIndex Method
Returns the index corresponding to the argument character.
Namespace:
Algs4Net
Assembly:
Algs4Net (in Algs4Net.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
Copy
public
int
ToIndex
(
char
c
)
Parameters
c
Type:
System
Char
the character
Return Value
Type:
Int32
the index corresponding to the character
c
Exceptions
Exception
Condition
ArgumentException
unless
c
is a character in this alphabet
See Also
Reference
Alphabet Class
Algs4Net Namespace