O'Reilly logo

C# Primer Plus by Klaus Michelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. A GUIDED TOUR THROUGH C#: PART I

You will learn about the following in this chapter:

  • The advantages of applying two important OOP concepts— abstraction and encapsulation

  • Why the C# keywords public and private play an important role in implementing encapsulation

  • The basic C# elements needed to write simple C# applications

  • How to write a user interactive application using simple keyboard input and screen output

  • Single line comments and why comments are important in your source code

  • The special meaning of keywords

  • How to define the beginning and the end of a class and method body by using C#'s block construct

  • How to use C#'s if statement to make your program respond in different ways to different user input

  • The string class and its ability to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required