1
Answer

web delvelopment + static

Sanjay Sharma

Sanjay Sharma

6y
488
1
Hi we have following desgin
 
 public class Product{
  public static int AddProduct(agruments....){}
  public static int UpdateProduct(agruments....){} 
}
 
caller from aspx.cs
 
Product.AddProduct()
 
Question is if above design is advisable in webdevelopment. I learnt static usage is not incourage in web design please advice. ( Provide ref too). 
Answers (1)