O'Reilly logo

Application Development Using C# and .NET by Robert J. Oberg, Michael Stiefel

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. C# Overview for Sophisticated Programmers

In this chapter we quickly cover the essentials of the C# language, which should be quite easy for you to learn if you have experience with C++ or Java. A “hello, world” program introduces the basic structure of C# programs. We then cover variables, operators, control structures, formatting, methods, and input/output. Classes are fundamental in C#, and we examine them in some detail. Besides the standard features, C# adds some convenience features, such as properties. We cover the essentials of data types in C#, which correspond to types in the Common Type System. We discuss the fundamental distinction between value and reference types and see how to convert between them using boxing and unboxing ...

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