Page 22 : 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
Other substantial differences
Program organization
No requirements to source file organization in C#
Exceptions
No
catch or specify
requirement in C#
Nested and local classes
Classes inside classes are static in C#: No
inner classes
like in Java
Arrays
Rectangular arrays in C#
Virtual methods
Virtual as well as non-virtual methods in C#