Q. Which of the following will be the correct output for the C#.NET code snippet given below?String s1 = "ALL MEN ARE CREATED EQUAL";String s2;s2 = s1.Substring(12, 3);Console.WriteLine(s2); (Solved)
1. ARE
2. CRE
3. CR
4. REA
- b. CRE
1. ARE
2. CRE
3. CR
4. REA