ExamVeda
Login
Home
LINQ (Language Integrated Query) in C Sharp
?

What will be the output of the following C# code snippet?
class UseTypeof 
{
    static void Main() 
    {
        Type t = typeof(StreamReader);
        Console.WriteLine(t.FullName);
        if(t.IsClass) Console.WriteLine("Is a class.");
        if(t.IsAbstract) Console.WriteLine("Is abstract.");
        else Console.WriteLine("Is concrete.");
    }
}

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.