Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.
Wednesday, 4 April 2012
What are tuples?
Tuple is a fixed-size collection that can have elements of either same or different data types. Similar to arrays, a user must have to specify the size of a tuple at the time of declaration. Tuples are allowed to hold up from 1 to 8 elements and if there are more than 8 elements, then the 8th element can be defined as another tuple. Tuples can be specified as parameter or return type of a method.
Subscribe to:
Post Comments (Atom)
IE7 Issues Text Indent
Unfortunately IE 7 is still widespread among the users hence while theming we have to give special importance to the grea...
-
§ LR parsers can be constructed to recognize all programming language constructs for which CFG can be written. § LR parsing is no...
-
CLR uses the Dispose and Finalize methods to perform garbage collection of run-time objects of .NET app...
-
1. #Google — Larry Page & Sergey Brin 2. #Facebook — Mark Zuckerberg 3. #Yahoo — David Filo & Jerry Yang 4. #Twitter — Jack D...
No comments:
Post a Comment