What algorithm .Net use for searching a pattern in a string?

Posted by Hun1Ahpu on Stack Overflow See other posts from Stack Overflow or by Hun1Ahpu
Published on 2010-04-06T10:43:07Z Indexed on 2010/04/06 10:53 UTC
Read the original article Hit count: 316

Filed under:
|
|

I'm studying string searching algorithms now and wondering what algorithm is used for .NET String.Contains function for example. Reflector shows that this function is used but I have no idea what its name means.

private static extern int InternalFindNLSStringEx(IntPtr handle, string localeName, int flags, string source, int sourceCount, int startIndex, string target, int targetCount);

© Stack Overflow or respective owner

Related posts about algorithm

Related posts about c#