A friend of mine came to me with this strange behavior which i can\'t explain, any insight view would be appreciated.
Im running VS 2005 (C# 2.0), the following code
It should return 0. You are looking for the first occurrence of an empty string, right? :)