private constructor,static constructor and static class?

Posted by Gg under Regular Expressions on 1/19/2011 | Points: 10 | Views : 2098 | Status : [Member] | Replies : 2
Hi,

What is different override and new keyword?
What is private constructor,static constructor and static class? Please give me good example.
How to secure WCF service?

Thanks,
GG




Responses

Posted by: T.saravanan on: 1/19/2011 [Member] [MVP] Silver | Points: 25

Up
0
Down
Hi GG,

For Override and New keyword...http://www.pragimtech.com/NewOverride.aspx
For Constructors...http://www.pragimtech.com/Classes.aspx

In static class..
* Cannot create an object for that class.use the class name to call a method (or) parameters.

* In static class, Methods and parameters are in static.

Refer this link for know more...http://msdn.microsoft.com/en-us/library/79b3xss3%28v=vs.80%29.aspx

Cheers :)




Thanks,
T.Saravanan

Gg, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/19/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Login to post response