A

Admin • 832.27K Points
Coach

Q. Which of the following will be the correct output for the C#.NET code snippet given below?

Code:
String s1 = "ALL MEN ARE CREATED EQUAL";
String s2;
s2 = s1.Substring(12, 3);
Console.WriteLine(s2);
  • (A) ARE
  • (B) CRE
  • (C) CR
  • (D) REA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.