FeedBack Form

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

C#.NET INTERVIEW QUESTION & ANSWERS

31. What is the syntax to declare a namespace in .NET?
  In C#, the namespace keyword is used to declare a namespace in the code. The syntax for declaring a namespace in C# is: namespace MyNamespace
  Posted by Aswini Aluri. (Nov 20, 2013)
 

system.data.datatable
dt=new datatable();
like this you have to declare namespace in c#.net

Your Name Your Email-ID
Your Answer
 
32. How many languages .NET is supporting now?
  When .Net was introduced it came with some 16 languages. VB.NET, C#, COBOL and PERL etc. Now .NET Framework 4.0 supports 96+ languages.
  Posted by Prathap Naidu. (Apr 22, 2013)
 

When .Net was introduced it came with some 56 languages. VB.NET, C#, COBOL and PERL etc

Your Name Your Email-ID
Your Answer
 
33. What is the difference between the Debug class and Trace class?
  Use Debug class for debug builds. Use Trace class for both debug and release builds.
Your Name Your Email-ID
Your Answer
 
34. What is the difference between Array and Arraylist?
  An array is a collection of the same type. The size of the array is fixed in its declaration. A linked list is similar to an array but it doesn't have a limited size.
  Posted by Sindhu. (May 02, 2014)
 

An array is a collection of the same type where as an arraylist is a collection of different types. An array is fixed in its declaration where as an arraylist can either be increased or decreased dynamically

Your Name Your Email-ID
Your Answer
 
35. What are methods?
  A method represents a behavior of a class.
Methods are the building blocks of a class, in which they are linked together to share and process data to produce the result.
Your Name Your Email-ID
Your Answer