FeedBack Form

Your Name :
Your Email :
Your Location :
Your Message :
   
FeedBack

C#.NET INTERVIEW QUESTIONS & ANSWERS

16. What are the namespaces used in C#.NET?
  There are Five levels of Access Modifiers are :
  • using System;
  • using System.Collections.Generic;
  • using System.Windows.Forms;
  Posted by Bhushan. (Feb 17, 2014)
 

using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using System.Web;
using System.ServiceModel.Web;
using System.Data.SqlClient;

  Posted by Aswini Aluri. (Nov 20, 2013)
 

using system.io;

  Posted by Vivek. (Oct 11, 2013)
 

using system.data;
using system.data.sqlclient;
using system.configuration;

  Posted by Nagendra. (Sep 26, 2013)
 

using System.Linq;
using System.Text;

Your Name Your Email-ID
Your Answer
 
17. What is an abstract class?
 
  • A class that cannot be instantiated.
  • An abstract class is a class that must be inherited and have the methods overridden.
  • An abstract class is essentially a blueprint for a class without any implementation.
  Posted by Arun. (Jun 29, 2014)
 

If the class is created for the purpose of providing common fields and members to all sub classes then this type of class is called an abstract class.

Your Name Your Email-ID
Your Answer
 
18. What are the two data types available in C#?
 
    There are two types of data types in C# are :
  • Value type
  • Reference type
Your Name Your Email-ID
Your Answer
 
19. What is Array List?
  Array List can hold item of different types. As array list can increase and decrease size dynamically you do not have to use the REDIM keyword. You can access any item in array using INDEX value of the array position.
Your Name Your Email-ID
Your Answer
 
20. How is method overriding different from overloading?
  When overriding, you change the method behavior for a derived class. Overloading simply involves having a method with the same name within the class.
Your Name Your Email-ID
Your Answer