Please note that the content of this book primarily consists of articles
available from Wikipedia or other free sources online. This article
compares Microsoft's C# programming language with Sun's Java programming
language. While the focus of this article is mainly the programming
languages and their features, such a comparison will necessarily also
consider some platform features and some library features. For a more
detailed comparison of the platforms, please see Comparison of the Java
and .NET platforms. The comparison will naturally focus on areas where
the languages differ. In fact the two languages and their platforms are
more alike than they are different: Both are statically, strongly, and
mostly manifestly typed, both are class-based object-oriented, both are
designed with semi-interpretation or runtime compilation in mind, both
use garbage-collection, and both are "curly brace" languages like C and
C++. Common ancestry is also evident in their common terminology and
often very similar syntax features.