ExamVeda
Login
Home
Miscellaneous in C Sharp
?

What will be the output of the following C# code snippet?
class Program
{
    static void Main(string[] args)
    {
        String c = "Hello i love Csharp";
        Boolean var;
        var = c.StartsWith("hello");
        Console.WriteLine(var);
        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.