csharp_quiz_session.md - brainchildservices/curriculum GitHub Wiki

1. What is an Object ?

Answer: Object is defined as an instance of a Class. Technically, it is just a block of memory allocated that can be stored in the form of variables, array or a collection.

2. What is a Class?

Answer: Class is an encapsulation of properties and methods that are used to represent a real-time entity. It is a data structure that brings all the instances together in a single unit.

3. What is an Interface?

Answer: Interface is a class with no implementation. The only thing that it contains is the declaration of methods, properties, and events.

4. What is “using” statement in C#?

Answer: “Using” keyword denotes that the particular namespace is being used by the program.

5. What is Boxing ?

Answer: Converting a value type to reference type is called Boxing.

6. What is Unboxing ?

Answer: Explicit conversion of same reference type (created by boxing) back to value type is called Unboxing.

7. The ____ language allows more than one method in a single class.

A. C#

8. All C# applications begin execution by calling the _____ method.

A. Main()

9. A _______ is an identifier that denotes a storage location.

A. Variable

10. An _______ is a symbol that tells the computer to perform certain mathematical or logical manipulations.

A. Operator