C# 2.0 Generic Types and Methods
Short 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
Related Books:Related Searches: parametric polymorphism, parameter constraints, object oriented language, c generics, university of copenhagen
Comments
Leave a Reply