I want to get the range of characters between any two Unicode points.
This below doesn't work in VB.NET and doesn't give any hints on how to convert it to use Unicode instead.
for (char c = 'A'; c <= 'Z'; c++)
{
yield return c;
}
Converted it looks like this :
For c As Char = "A"c To "Z"c
Yield c
Next
But this causes an error "'For' loop control variable cannot be of type 'Char' because the type does not support the required operators."
Say I want to get Basic Latin, is there any way to do it like below?
For c As Char = U+0000 To U+007F
Yield c
Next
I'm struggling to find anything on this specific subject.