Learn how to create classes and instantiate objects that expose public data fields by using class definitions, constructors, and the new operator.
Learning objectives
After completing this module, you’ll be able to:
- Describe the .NET type system, the difference between value and reference types, and the benefit of using custom class types.
- Explain the difference between a class and an instantiated object.
- Create class definitions that include public data fields and constructors that accept zero or more arguments.
- Create classes and instantiate objects that expose public field values.
Leave a Reply