Vidyalelo
C# Programming · Q63

Arrays and Strings in C Sharp

Programming · C# Programming · question 63

Q63

What will be the output of the following C# code snippet? static void Main(string[] args) string c = "hello"; string c1 = c.Remove(1); Console.WriteLine(c1); Console.ReadLine();

A.
ello
B.
h
Answer
C.
hell
D.
none of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board