using C properties and static members
Short Description
of the C# programming language, and look at two par-. ticular features of C# classes. …. C# programming, how do you define groups of constants for …
Website: www.usenix.org | Filesize: 144kb
Content
20 Vol. 28, No. 5 ;login:
In this column we’re going to continue our examination
of the C# programming language, and look at two particular
features of C# classes.
We’ll start by considering the use of properties, which are kind
of a hybrid between data fields and methods.We’ll then go on
and look at static class members.
Properties
Imagine that you’re developing a C# class, and that class will
have a data field that represents a calendar year. The field is set
by the constructor and validated to ensure that the year is 1800
or later. You also…
Get the file Download here
Related Books:Related Searches: c programming language, static class members, static members, c classes, c class
Comments
Leave a Reply