Page 25 : 43
Object-oriented Programming in C#
Introduction to C#
* The C# Language and System
C# seen in a historic perspective
The Common Language Infrastructure
CLI Overview from Wikipedia
C# Compilation and Execution
* C# in relation to C
Simple types
Enumerations types
Non-simple types
Arrays and Strings
Pointers and references
Structs
Operators
Commands and Control Structures
Functions
Input and output
Comments
* C# in relation to Java
C# versus Java
Types
Operations
Other substantial differences
* C# in relation to Visual Basic
The Overall Picture
The Overall Picture
Declarations and Types
Declaration and Types
Expressions and Operators
Expressions and Operators
Control Structures for Selection
Control structures for Selection
Control Structures for Iteration
Control structures for iteration
Arrays
Arrays
Procedures and Functions
Procedures and Functions
Combined C# and Visual Basic Programming
Object-oriented programming in Visual Basic
* C# Tools and IDEs
C# Tools on Windows
C# Tools on Unix
Documentation Tools
The Overall Picture
Program organization
Similar: Modul/Class in explicit or implicit namespace
Program start
Similar:
Main
Separation of program parts
VB: Via line organization
C#: Via use of semicolons
Comments
VB: From an apostrophe to the end of the line
C#: From
//
to the end of the line
or
/* ... */
Case sensitiveness
VB: Case insensitive. You are free to make your own "case choices".
C#: Case sensitive. You must use the correct case for both keywords and you must be "case consistent" with respect to names.