[Mono-dev] String.IndexOf function Bug.

Yogendra Thakur YogendraT at ami.com
Mon Nov 14 15:47:53 EST 2005


Hi,
I following piece of code produce the different result on MS .NET 1.1
and Mono 1.1.10

[CODE- C#]
==========
	string str = "MONO";
	int index = str.IndexOf("/0/0/0");
	Console.WriteLine(" Index  : " + index.ToString());
[CodeEnd]


On MS 1.1 this code displays "Index : -1" , while Mono 1.1.10 displays
"Index : 0" as output.

I am filing a bug for this.

Thanks , 
-Yogendra Thakur






More information about the Mono-devel-list mailing list