Welcome to Video tutorials on DotNetFunda.com
Here you get FREE .NET Video tutorials by the registered members. These videos are submitted by very few approved members of the website to make sure the quality of videos are up to the mark. List of video tutorials keeps growing day by day so stay tuned for the latest videos. If you also want to share video tutorials, please let us know for approval.
c# (Csharp) interview questions :- What is the use of private constructor ?
Last updated on: 25 Jun 2014 04:58:49 AM by Itfunda | Views: 32 | Category: ASP.NET
Want to learn C# start from this video https://www.youtube.com/watch?v=yh2SrzCkNQA
This is one of those c# (Csharp) and .NET interview question is asked from the perspective to test if you understand the importance of private constructors in a class.
When we declare a class constructor as private , we can not do 2 things:-
-- We can not create a object of the class.
-- We can not inherit the class.
For more such videos visit http://www.questpond.com