Home
C# / C Sharp
2D Graphics
Class Interface
Collections Data Structure
Components
Data Types
Database ADO.net
Date Time
Design Patterns
Development Class
Event
File Stream
Generics
GUI Windows Form
Internationalization I18N
Language Basics
LINQ
Network
Office
Reflection
Regular Expressions
Security
Services Event
Thread
Web Services
Windows
Windows Presentation Foundation
XML
XML LINQ
Static « Class Interface « C# / C Sharp
C# / C Sharp
Class Interface
Static
1.
Use static
2.
Static members are frequently used as counters.
3.
Error using static
4.
Can call a non-static method through an object reference from within a static method
5.
Use a static field to count instances
6.
Use a static class factory
7.
Use a static constructor
8.
Illustrates the use of static members
9.
Demonstrates access to static and non-static members
10.
Demonstrates how a static field is shared by multiple instances of a class
11.
Demonstrates use of static constructor
12.
Use static method to initialize field