.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal

Home >> Interview Question >> .NET Framework >> Post New Question Subscribe to Interview Questions

Static datamembers should be initialized inside the constructor. True or False.

Posted By :Abhisek Panda     Posted Date :December 31, 2009    Points :10   Category :.NET Framework 
False. Static datamembers should not be initialised inside constructor.

You can also find related Interview Question to Static datamembers should be initialized inside the constructor. True or False.  below: 

A constructor can be private. True or False

False. A constructor should not be private. (More...)

Difference between type constructor and instance constructor? What is static constructor, when it will be fired? And what is its use?

(Class constructor method is also known as type constructor or type initializer)
Instance constructor is executed when a new instance of type is created and the class constructor is executed after the type is loaded and before any one of the type members is accessed. (It will get executed only 1st time, when we call any static methods/fields in the same class.) Class constructors are used for static field initialization. Only one class constructor per type is permitted, and it cannot use the vararg (variable argument) calling convention. (More...)

What is Static Constructor?

It is invoked when the instance of the class is created. (More...)

Web services can only be written in .NET, true or false?


WebService can be written in Java,DotNet and some other languages. (More...)

DateTime variables can be null (True / False )


The DateTime type is a non-nullable value type, and just like an integer, it cannot be assigned to null. (More...)

More than one IDENTITY column per table can be exist in SQL Server . (True /False)

There can only be one IDENTITY column per table in SQL Server.
Its auto Incremented Column defined by the user. (More...)

What is a static constructor?

A Static Constructor of a class gets initialised and invoked when the assembly loads itself. (More...)

Quick Links For Interview Questions Categories:
ASP.Net Windows Application   .NET Framework   C#   VB.Net   ADO.Net  
Sql Server   SharePoint   Silverlight   OOPs   JQuery   JavaScript/VBScript
Biztalk Patten/Practices .IIS WCF WPF WWF
Networking Aptitude Others   All      

Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.

Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.

So, Start looking our Interview Question section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend