gs gs108 Delegates, Generics and LINQ - Runtime Type - Quiz No.1

gs gs108 CSharp Quiz

Online Quizzes Preparation

This quiz belongs to book/course code gs gs108 CSharp of gs organization. We have 110 quizzes available related to the book/course CSharp. This quiz has a total of 10 multiple choice questions (MCQs) to prepare and belongs to topic Delegates, Generics and LINQ. NVAEducation wants its users to help them learn in an easy way. For that purpose, you are free to prepare online MCQs and quizzes.

NVAEducation also facilitates users to contribute in online competitions with other students to make a challenging situation to learn in a creative way. You can create one to one, and group competition on an topic of a book/course code. Also on NVAEducation you can get certifications by passing the online quiz test.

Question 1: Which mechanism among the following helps in identifying a type during the execution of a program?
Question 2: Select the statement which are correct about RTTI(Runtime type identification)?
Question 3: Select the Keyword which supports the run time type identification?
Question 4: What does the following C# code signify?

expr is type
Question 5: What will be the output of the following C# code snippet?

 class B { } class A : B { } class Program { static void Main(string[] args) { A a = new A(); B b = new B(); if (a is A) Console.WriteLine("a is an A"); if (b is A) Console.WriteLine("b is an A because it is derived from A"); if (a is B) Console.WriteLine("This won’t display -- a not derived from B"); Console.ReadLine(); } } 


Online Quizzes of gs108 CSharp

Other LANG related online quizzes

Other categories of gs Online Quizzes

Other organizations

Theme Customizer

Gaussian Texture



Gradient Background