Microsoft .Net Framework Interview questions and answers FAQ's,
.Net 2.0, .Net 3.0, .Net 3.5,
WPF - WCF, C#.NET, ASP.Net, VB.Net,ADO.Net, Web & desktop development questions.
Tuesday, May 13, 2008
Do you need to instantiate a class before accessing a Shared (static) member? Why or why not?
Because a Shared (static) member belongs to the type rather than to any instance of the type, you can access the member without first creating an instance of the type.
No comments:
Post a Comment