Whats new in C# 2.0 og Java 1.5
Short Description
Microsoft has announced that C# 2.0 will be released in 2005 and Sun has already. released a release candidate of Java 1.5. This article will describe some …
Website: www.it-practice.dk | Filesize: 376kb
Content
What’s new in C# 2.0 og Java 1.5
Abstract
This paper addresses the semantic and syntactic constructs in the grammars of the
languages C# and Java. The scope of the paper is to provide a general overview of the
issues at hand. The introduced concepts can improve readability of sourcecode in the
future and possibly speed up development because tedious and trivial programming tasks
are facilitated with new instruments.Version 1.0, updated 2004-09-01
(C) Copyright 2004, IT Practice A/S
Page 2 of 12
What’s new in C# 2.0 og Java 1.5 ………………………………………………………………………….. 1
Introduction………………………………………………………………………………………………………… 3
Java 1.5 ………………………………………………………………………………………………………………. 3
Generic types and type safe collections classes …………………………………………………….. 3
Annotations ……………………………………………………………………………………………………… 4
Auto boxing and unboxing…………………………………………………………………………………. 5
New for loop ……………………………………………………………………………………………………. 5
Static imports …………………………………………………………………………………………………… 6
Variable-arity methods………………………………………………………………………………………. 7
Enum types………………………………………………………………………………………………………. 7
C# 2.0………………………………………………………………………………………………………………… 7
Generic types …………………………………………………………………………………………………… 7
Yield statement ………………………………………………………………………………………………… 8
Anonymous functions / delegates ……………………………………………………………………….. 9
Nullable types ………………………………………………………………………………………………… 10
Conclusion ………………………………………………………………………………………………………… 13
References………………………………………………………………………………………………………… 13
About the author ………………………………………………………………………………………………… 13…
Get the file Download here
Related Books:Related Searches: enum types, languages c, loop 5, arity, generic types
Comments
Leave a Reply