In the conversion process of a java to c# project, i have come to java's indexOf() function in class, which takes in two integers (int ch, int fromIndex) and return some integer value for a char (i'm guessing its an ASCII value).

I need to know if there is a c# equivalent for java's indexOf() function.

String.IndexOf in the .NET Framework is essentialy the same thing as Java's String.indexOf, allowing for platform differences.

thanks gusano79, solved it. :)