Click here to hide categories Click here to show left categories

User: Home          welcome : Guest          Log In / Register here     

.NET interview questions: - How to have parameterized constructor?

We can have this by putting parameters in the function.

function Employee(eName,eAddress)






var e=new Employee(”Sukesh Marla”,”Mumbai”);


Hope you enjoyed reading this and learned something new. Your comments and votes are always welcome.

If you are looking for some hard core live training on MVC, WCF, Design Patterns, BI, WPF, TFS, HTML5 visit or contact

Also see another .NET interview questions video on use of private constructor: -

Helpful Website Url
Share this article   |    Print    |    Article read by 8986 times
Shivprasad koirala Koirala
I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small E-learning company in India. We are very much active in making training videos , writing books and corporate trainings. Do visit my site for .NET, C# , design pattern , WCF , Silverlight , LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server training and Interview questions and answers
Related Articles:
Related Interview Questions: