Working with the following code:
Intellisense shows two overloads for ToString. The first is unsurprising. The second one is:
"Chars(index as Integer) as Char"
However, when I tried to find the documentation for this method, I failed. Does anyone know where it is documented? Also, why is it listed in the overloads for ToString when it actually has a different name? FWIW it seems that I can code the second line above two different ways:
or
But I cannot find documentation for the ToString method that discusses its optional parameter or mentions that it returns a Char, not a String.
Where can I look for more information about these methods?
Code:
dim v as object = "123"
dim c as char = v.ToString...
"Chars(index as Integer) as Char"
However, when I tried to find the documentation for this method, I failed. Does anyone know where it is documented? Also, why is it listed in the overloads for ToString when it actually has a different name? FWIW it seems that I can code the second line above two different ways:
Code:
dim c as char = v.Chars(0)
Code:
dim c as char = v.ToString(0)
Where can I look for more information about these methods?