Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Namespaces
Which of the following is absolutely neccessary to use a class Point present in namespace Graph stored in library?
Use fully qualified name of the Point class.
Use using statement before using the Point class.
Add Reference of the library before using the Point class.
Use using statement before using the Point class.
Copy the library into the current project directory before using the Point class.
Correct Answer:
Add Reference of the library before using the Point class.
← Previous Question
Next Question→
More Questions from
Namespaces
Which of the following statments are the correct way to call the method Issue() defined in the code snippet given below? namespace College { namespace Lib { class Book { public void Issue() { // Implementation code } } class Journal { public void Issue() { // Implementation code } } } } College.Lib.Book b = new College.Lib.Book(); b.Issue(); Book b = new Book(); b.Issue(); using College.Lib; Book b = new Book(); b.Issue(); using College; Lib.Book b = new Lib.Book(); b.Issue(); using College.Lib.Book; Book b = new Book(); b.Issue();
If a class called Point is present in namespace n1 as well as in namespace n2, then which of the following is the correct way to use the Point class?
Which of the following statements is correct about the using statement used in C#.NET?
Which of the following CANNOT belong to a C#.NET Namespace?
Which of the following statements is correct about a namespace in C#.NET?
Which of the followings are NOT a .NET namespace? System.Web System.Process System.Data System.Drawing2D System.Drawing3D
Which of the following is correct way to rewrite the C#.NET code snippet given below? using Microsoft.VisualBasic; using System.Windows.Forms; MessageBox.Show("Wait for a" + ControlChars.CrLf + "miracle");
Which of the following C#.NET code snippets will correctly print "Hello C#.NET"?
If ListBox is class present in System.Windows.Forms namespace, then which of the following statements are the correct way to create an object of ListBox Class? using System.Windows.Forms; ListBox lb = new ListBox(); using LBControl = System.Windows.Forms; LBControl lb = new LBControl(); System.Windows.Forms.ListBox lb = new System.Windows.Forms.ListBox(); using LBControl lb = new System.Windows.Forms.ListBox; using LBControl = System.Windows.Forms.ListBox; LBControl lb = new LBControl();
Which of the following is NOT a namespace in the .NET Framework Class Library?
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments