Static method
-
Hi, When designing class how should understand, it implement as Static or public?
-
Hi, When designing class how should understand, it implement as Static or public?
Hi, You can confirm it from the class access modifier at class declaration part which displays under namespace node.
Rajendra Prasad Panchati .Net/Sharepoint Software Enginner Hyderabad.
-
Hi, When designing class how should understand, it implement as Static or public?
This helps to explain it: Static Classes[^].
"If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." Red Adair. nils illegitimus carborundum me, me, me
-
Hi, When designing class how should understand, it implement as Static or public?
If you understand Static class concept properly, then you will automatically come to know which method best suits your requirement. If the class is not specific to a particular instance or otherwise if you want some logic shared among all the users then you can go for static classes. MSDN - Static Classes and Static Class Members[^]
Arun Jacob My Technical Blog : Code.NET