New Features in C# 2.0—Static Classes: What about

Microsoft .NET Framework, ASP.NET, Visual C# (CSharp, C Sharp, C-Sharp) Developer Training, Visual Studio


Jump to: navigation, search
CSharp-Online.NET:Tutorials
C# Tutorials

New Features in C# 2.0

© 2005 O'Reilly Media, Inc.

What about…

…fields and properties? Can my static class have such members?

Yes, they can, but all the members (methods, fields, and properties) must be static.


Previous_Page_.gif Next_Page_.gif


Personal tools