Friday, 6 September 2013

What is the nearest equivalent to Java's Character.isDefined, in .NET?

What is the nearest equivalent to Java's Character.isDefined, in .NET?

Java has a Character.isDefined method, but there's no equivalent on the
char class in .NET.
I'm aware that Microsoft's old Java libraries have this, but I don't want
to depend on that library if I can avoid it.
Is there a built in equivalent in .NET somewhere? Or does calling all the
available .is* methods combinatorially produce the same result? (e.g.
char.IsLetter(x) || char.IsSymbol(x) etc....)

No comments:

Post a Comment