eramgarden Posted April 27, 2006 Posted April 27, 2006 I'm continuing reading the article about Classes. In this one, it's talking about having constructors... http://www.developer.com/design/article.php/10925_3464311_2 I use vb.net/asp.net. Question: Do i have to use it? i'm looking at the application that was designed by another developer and he doesnt have it in every class. This article says to use it when you want to init attributes. Quote
Administrators PlausiblyDamp Posted April 27, 2006 Administrators Posted April 27, 2006 If you need to perform initalisation of your class (with or without parameterisation) then a constructor is a useful tool, otherwise you will not need to create one. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.