ExamVeda
Login
Home
Arrays and Strings in C Sharp
?

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();
}

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.