View Single Post
 
Old April 16th, 2007, 02:54 PM
ThanhD ThanhD is offline
Registered User
 
Join Date: Apr 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Eric,

Thanks for your reply. I understand the difference between static and instance classes. The fact that they both exist means that each must have its own pros and cons. For instance in ASP.NET, the Directory class exposes static methods and the DirectoyInfo class contains instance methods. The former is good for one time use while the latter is good for repeated called of its methods.

In the case of the Website Programming code, I was wondering how much of a performance issue it would be say if we were to implement it for a site with hundreds (or even thousands) of simutaneous user access (like Google or MS site). I normally use instance objects for my business and data access classes, and static class methods when the function is infrequently use.

Regards,
Thanh