C# Class Palindrome.Implementation1

Datei anzeigen Open project: ufcpp/UfcppSample Class Usage Examples

Public Properties

Property Type Description
count int

Public Methods

Method Description
GetPalindromes ( string text ) : IEnumerable
GetSubstrings ( string text ) : IEnumerable
IsPalindrome ( string text, int startIndex, int length ) : bool

Private Methods

Method Description
GetSubstrings ( string text, SubstringPredicate condition ) : IEnumerable

Method Details

GetPalindromes() public static method

public static GetPalindromes ( string text ) : IEnumerable
text string
return IEnumerable

GetSubstrings() public static method

public static GetSubstrings ( string text ) : IEnumerable
text string
return IEnumerable

IsPalindrome() public static method

public static IsPalindrome ( string text, int startIndex, int length ) : bool
text string
startIndex int
length int
return bool

Property Details

count public_oe static_oe property

public static int count
return int