This is a bug I have submitted a bug report to the J# development team.
Thanks,
Michael Green
Microsoft Developer Support
--------------------
| Thread-Topic: Problem with IsSurrogate method
| thread-index: AcP2pjCuSmsFre3RTdCjiObw5dJ/vA==
[quoted text clipped - 18 lines]
| NNTP-Posting-Host: tk2msftcmty1.phx.gbl 10.40.1.180
| X-Tomcat-NG: microsoft.public.dotnet.vjsharp
import System .* ;
public class IsSurrogateSample
{
public static void main(String[] args1)
{
String str = "\u00010F00";
Console.WriteLine(Char.IsSurrogate('a'));
Console.WriteLine(Char.IsSurrogate(str, 0));
}
}
In the above problem the second call to IsSurrogate method returns False
instead of True.But the same problem works fine in C#.
Can any one help me out?