The C# Programming Language for Java Developers

This section discusses the similarities and differences in between the C# and Java programming languages.

In This Section

Source File Conventions (C# vs. Java)

Data Types (C# vs. Java)

Operators (C# vs. Java)

Flow Control (C# vs. Java)

Looping Statements (C# vs Java)

Class Fundamentals (C# vs Java)

Main () and Other Methods (C# vs Java)

Using an Indeterminate Number of Parameters (C# vs Java)

Properties (C# vs Java)

Structs (C# vs Java)

Arrays

Inheritance and Derived Classes (C# vs Java)

Events

Operator Overloading (C# vs Java)

Exceptions (C# vs Java)

Advanced C# Techniques (C# vs Java)

Garbage Collection (C# vs Java)

Safe and Unsafe Code (C# vs Java)

Summary (C# vs Java)

C# Programming Guide

Visual C#

Migrating to Visual C#