using Personnel.Data; class Employee { private static DataSet ds; static Employee() { ds = new DataSet(...); } public string Name; public decimal Salary; ... }shows an Employee class with a static constructor that initializes a static field.
| |
Jagger Software Ltd | |
Company # 4070126 | |
VAT # 762 5213 42 |