-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learn C# Programming
By :
In the previous chapter, we learned about control statements and exceptions in C#. In this chapter, we will explore the user-defined types in C#. We will learn how to create custom user types using classes, structures, and enumerations. We will explore what fields, properties, methods, indexers, and constructors are in a class. We will study the access modifiers in C# and learn how to use them to define the visibility of types and members. We will also learn about two important keywords in C#—this and static—and understand the ref, in, and out parameter modifiers for methods.
We will explore the following topics in detail:
Good knowledge of these concepts is necessary to understand the object-oriented programming (OOP) concepts that we will cover in the next chapter.