Home / Programming MCQs / C# MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. In which of the following collections is the Input/Output index-based? 1. Stack 2. Queue 3. BitArray 4. ArrayList 5. HashTable

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

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Related MCQs on C#

Which of the following benefits do we get on running managed code under CLR? 1. Type safety of the code running under CLR is assured. 2. It is ensured that an application would not access the memory that it is not authorized to access. 3. It launches separate process for every application running under it. 4. The resources are Garbage collected.

Which of the following statements are correct about JIT? 1. JIT compiler compiles instructions into machine code at run time. 2. The code compiler by the JIT compiler runs under CLR. 3. The instructions compiled by JIT compilers are written in native code. 4. The instructions compiled by JIT compilers are written in Intermediate Language (IL) code. 5. The method is JIT compiled even if it is not called

In case of the Params type parameter____________.

Which symbols are used to mark the beginning and end of a code block?

________causes the loop to continue with the next iteration after skipping any statements in between.

Which one of the following JIT compilers produce highly optimized code?

________________ access modifier is applied to a method or a data member, it can be accessed by all classes in the same namespace and derived class in other namespace.

Which Conversion function of ‘Convert.TOInt32()’ and ‘Int32.Parse()’ is efficient? i) Int32.Parse() is only used for strings and throws argument exception for null string ii) Convert.Int32() used for data types and returns directly '0' for null string

A buffer is a block of bytes in memory used to ___________

In C#, all binary operators are ______.

Learn All C# MCQs