June 2003
Intermediate to advanced
624 pages
12h 41m
English
In this chapter, we got our start with C#. Here's an overview of the topics we've covered:
Visual C# .NET is part of the Microsoft .NET initiative. It's a CLR-compliant language that you can use either in Visual Studio .NET or at the command line.
The C# data types are fairly standard for programming languages, and they're based on the .NET data types.
All variables must be declared before use in C#. C# also supports an extensive range of operators for use with your data.
C# supports conditional or branching statements to allow decision-making in code. We saw the if and switch statements in this chapter.
C# also supports a number of preprocessor directives, much like C++, which let you compile your code conditionally, omitting and including ...