Now that you know more about what C # can do, have to learn to use it. This
chapter gives a good start in this direction that provides a basic understanding of the fundamentals of programming C #, which is based on the following chapters. The main topics covered are:
- Declaring variables
- Initialization and scope of variables
- Predefined C# data types
- Dictating the flow of execution within a C# program using loops and conditional statements
- Enumerations
- Namespaces
- The Main() method
- Basic command - line C# compiler options
- Using System.Console to perform console I/O
- Using comments and documentation features
- Preprocessor directives
- Guidelines and conventions for good programming in C#
Before We Start
As already mentioned, C # is an object - oriented language. Throughout this chapter and later chapters, it is assumed that you have a good understanding of the concepts behind Object - Oriented (OO) programming. In other words, we hope you understand what we mean by classes, objects, interfaces, and inheritance. If you have programmed in C + + or Java before, you should have a very good grounding in the object - the object-oriented programming (OOP). However, if you have no experience in object-oriented programming,
may be helpful to familiarize yourself with the basics before going OOP.
0 comments:
Post a Comment