15.1 Introduction
Like the other C# classes we have discussed in this book, a custom C# class can contain properties, methods, and events. These classes are considered “custom” because the only properties, methods, and events they contain are the ones we define. Because of this, they do exactly what we want them to do—nothing more, nothing less. Custom C# classes are helpful when there are functions or procedures that we must perform in many places within a single Web application or across multiple Web applications. So, instead of writing a segment of code to perform ...