Home / MCQ Bank / Computer
Computer Arrays And Strings In C Sharp

What is the correct syntax to access the second character of a string named text in C#?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option D • text[1]

Related Computer Questions

Which of these methods of httpd class is used to read data from the stream? What is the GCD of a and b? Point out the correct combination with regards to kind keyword for graph plotting. Which of the following ciphered text would have NOT used transposition cipher for encryption of the plain text "CIPHER"? Which of the following is the correct syntax of declaring a complex number?