Tuple provides us with a way to group elements of disparate data types together.This is present in functional languages like Haskell and also dynamic languages like Python.A common example of a tuple is a pair of coordinates defining a point in two dimensional space.In Haskell a tuple storing name and age of person is defined as : let t = ("Bob",57) In Python it will look something like:t = "Bob",57 In C# 4.0 we have a provision to create tuples but the syntax is not as beautiful as it is in Haskell a...
|
7
proggs |
Wednesday, December 02, 2009 12:03:58 PM GMT
Monday, November 30, 2009 2:12:00 PM GMT
|




Комментариев нет, оставьте первый комментарий.