C# 2.0 Generic Types and Methods

C# 2.0 Generic Types and MethodsShort Description
C# 2.0 Generic Types and Methods. Peter Sestoft. KVL and IT University of Copenhagen. ITU May 2006. C#/.Net Project Cluster. C# Generics-1. C#/. …

Website: www.itu.dk | Filesize: 44kb

Content
C# 2.0 Generic Types and Methods
Peter Sestoft
KVL and IT University of Copenhagen
ITU May 2006 C#/.Net Project Cluster C# Generics-1
C#/.Net project cluster
Tuesday 2 May 2006
 History of generics in programming languages
 Why generic types and methods?
 Using generic classes and interfaces
 Declaring generic classes, interfaces, structs, delegates and methods
 Type parameter constraints
 Differences between Java 5.0 and C# generics
 Standard C#/.Net generic collection classes
 The C5 comprehensive collection class library
ITU May 2006 C#/.Net Project Cluster C# Generics-2
History of generics in programming languages
The theory of generic types (parametric polymorphism) is by Hindley (1968) and Milner (1977).
First programming language with parametric polymorphism is ML (1979); then Miranda, Haskell, Clean, . . .
First object-oriented language with generics is Eiffel (1991).
Generics in Java
 PolyJ (Myers, Bank, Liskov; 1997):
Type parameters can be instantiated by reference types and primitive types; requires an extended JVM.
 Generic Java (Bracha, Odersky, Stoutamire, Wadler 1998):
Became Java 5.0 generics (plus wildcards, due to researchers at Aarhus University); runs on standard JVM.
 NextGen (…

Get the file Download here

AddThis Social Bookmark Button
Related Books:
  • Some Examples of Generics in Java 1.5 and C# 2.0
  • Whats new in C# 2.0 og Java 1.5
  • C++ Language Support for Generic Programming
  • TypeCase A Design Pattern for Type-Indexed Functions
  • Database access with Language Integrated Query
  • PrintBoy Printer Compatibility Chart
  • C# 2.0 FOR C++ AND JAVA PROGRAMMER
  • Generics in the Java Programming Language

  • Related Searches: , , , ,



    Comments

    Leave a Reply