Jobs Updated Everyday

NerdInterview.com

Home|Contact Us

Explain constructor.

Constructor is a method in the class which has the same name as the class (in VB.Net its New()). It initializes the member attributes whenever an instance of the class is created.

Filed under C# Interview Questions by admin

Permalink • Print • Email • Comment

Comments




  • Recent Jobs

    • Does C# support multiple-inheritance?
    • How can you clean up objects holding resources from within the code?
    • Describe ways of cleaning up objects.
    • Explain constructor.
    • Difference between value and reference type. what are value types and reference types?
    • Explain manifest and metadata.
    • Difference between a sub and a function.
    • ctype(123.34,integer) - should it throw an error? Why or why not?
    • What happens in memory when you Box and Unbox a value-type?
    • What namespaces are necessary to create a localized application?
    • What is a pre-requisite for connection pooling?
    • What connections does Microsoft SQL Server support?
    • Explain ACID rule of thumb for transactions.
    • What is the role of the DataReader class in ADO.NET connections?
    • What are three test cases you should go through in unit testing?
  • Search

  • Categories

    • .Net Interview Questions
    • AJAX Interview Questions
    • ASP Interview Questions
    • BEA WebLogic Interview Questions
    • Bluetooth Interview Questions
    • C Interview Questions
    • C# Interview Questions
    • C++ Interview Questions
    • HR Interview Questions
    • J2EE Interview Questions
    • Java Interview Questions
    • LoadRunner Interview Questions
    • Manual Testing Interview Questions
    • Networking Interview Questions
    • Oracle Interview Questions
    • Quick Test Pro Interview Questions
    • SAP Abap Interview Questions
    • SAP DB Interview Questions
    • SAP Interview Questions
    • SAP Modules Interview Questions
    • SAP Reports Interview Questions
    • SAP SD Interview Questions
    • SAP Tables Interview Questions
    • Servlet Interview Questions
    • Siebel Interview Questions
    • Socket Programming Interview Questions
    • SQL Interview Questions
    • Struts Interview Questions
    • WinRunner Interview Questions
Copyright 2008