_________________ argument in the Substring syntax specifies number of characters you want to access.

_________________ argument in the Substring syntax specifies number of characters you want to access.
A. numCharToAccess
B. CharAccess
C. numAccess
D. ToAccess
 
Answer: A
Explanation: The optional numCharsToAccess argument in the Substring syntax specifies the number of characters you want to access. The Substring method returns a string that contains the number of characters specified in the numCharsToAccess argument, beginning with the character whose index is startIndex. If you omit the numCharsToAccess argument, the Substring method returns all characters from the startIndex position through the end of the string.
 

Tìm kiếm

Back
Top