ExamVeda
Login
Home
File Handling and Input Output in C Sharp
?

What will be the output of the following C# code snippet?
static void Main(string[] args)
{
    string h = "i lovelife";
    string h1 = new string(h.Reverse().ToArray());
    Console.WriteLine(h1);
    Console.ReadLine();
}

Answer & Solution
Correct Answer: Option C
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.