Home » Aptitude Questions and Answers » C# Aptitude Questions and Answers

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







Comments and Discussions

Ad: Are you a blogger? Join our Blogging forum.





Languages: » C » C++ » C++ STL » Java » Data Structure » C#.Net » Android » Kotlin » SQL
Web Technologies: » PHP » Python » JavaScript » CSS » Ajax » Node.js » Web programming/HTML
Solved programs: » C » C++ » DS » Java » C#
Aptitude que. & ans.: » C » C++ » Java » DBMS
Interview que. & ans.: » C » Embedded C » Java » SEO » HR
CS Subjects: » CS Basics » O.S. » Networks » DBMS » Embedded Systems » Cloud Computing
» Machine learning » CS Organizations » Linux » DOS
More: » Articles » Puzzles » News/Updates


© https://www.includehelp.com some rights reserved.