×

C# Tutorial

Basics of .Net

C# Basics

C# Fundamentals

C# Operators

C# Loops

C# Type Conversions

C# Exception Handling

C# String Class

C# Arrays

C# List

C# Stack

C# Queue

C# Collections

C# Character Class

C# Class and Object

C# Namespaces

C# Delegates

C# Constructors

C# Inheritance

C# Operator Overloading

C# Structures

C# File Handling

C# Convert.ToInt32()

C# Int32 (int) Struct

C# DateTime Class

C# Uri Class

C# Database Connectivity

C# Windows

C# Other Topics

C# Q & A

C# Programs

C# Find O/P

C# Namespace Aptitude Questions and Answers | Set 1

C# Namespace Aptitude Questions | Set 1: This section contains aptitude questions and answers on C# Namespace.
Submitted by Nidhi, on April 08, 2020

1) There are following statements are given below, which of them are correct about namespace in C#.NET?
  1. A namespace used to organize classes, which is useful in big projects.
  2. We can use only predefined namespaces.
  3. To create a namespace, we need to use the keyword "package".
  4. A namespace cannot contain delegates.

Options:

  1. Only A
  2. A and B
  3. B and C
  4. C and D

2) There are the following options that are given below, which is not a part of the namespace in C#.NET?
  1. struct
  2. class
  3. enum
  4. database

3) There are following namespaces are given below, which is not a part of .NET Framework Class Library?
  1. System.Threading
  2. System.Process
  3. System.Security
  4. System.Drawing

4) Which keyword is used to create a namespace in C#.NET?
  1. package
  2. using
  3. namespaces
  4. namespace

5) Which keyword is used to include a predefined namespace in C#.NET?
  1. package
  2. using
  3. include
  4. namespace



Advertisement
Advertisement


Comments and Discussions!

Load comments ↻


Advertisement
Advertisement
Advertisement

Copyright © 2025 www.includehelp.com. All rights reserved.