Home > Articles > Programming > C#

Introduction to Classes, Objects, Methods and Strings in Visual C# 2010

In this chapter, the authors begin by explaining the concept of classes using a real-world example. Then they present five complete working applications to demonstrate how to create and use your own classes.
This chapter is from the book
  • Nothing can have value without being an object of utility.
  • Karl Marx
  • Your public servants serve you right.
  • Adlai E. Stevenson
  • You'll see something new. Two things. And I call them Thing One and Thing Two.
  • Dr. Theodor Seuss Geisel

4.1 Introduction

In this chapter, we begin by explaining the concept of classes using a real-world example. Then we present five complete working applications to demonstrate how to create and use your own classes. The first four begin our case study on developing a grade book class that instructors can use to maintain student test scores. The last example introduces the type decimal and uses it to declare monetary amounts in the context of a bank account class that maintains a customer's balance.

  • + Share This
  • 🔖 Save To Your Account