Home / Programming Questions / C # MCQs / Page 2

C # MCQs with answers Page - 2

Dear candidates you will find MCQ questions of C # here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

(A) Long Int
(B) Unsigned Long
(C) Int
(D) Unsigned Int

static void Main(string[] args)
     float a = 10.553f;
     long b = 12L;
     int  c;
     c = Convert.ToInt32(a + b);
(A) 23.453
(B) 22
(C) 23
(D) 22.453

(A) Only 1 and 2
(B) Only 1,2 and 4
(C) 1,2,3,4
(D) Only 4 and 5

(A) 1,5
(B) 3,4
(C) 1,2
(D) 4,5

(A) Managed code is the code that is compiled by the JIT compilers.
(B) Managed code is the code where resources are Garbage Collected.
(C) Managed code is the code that runs on top of Windows.
(D) Managed code is the code that is written to target the services of the CLR.

(A) 1,2
(B) 2,4
(C) 4,5
(D) 1,2,4

(A) NET class libraries
(B) Common Language Runtime
(C) Common Language Infrastructure
(D) Component Object Model

(A) Common Language Infrastructure
(C) Garbage Collector
(D) Class Loader


Forgot username? click here

Forgot password? Click here

Don't have account? Register here.