tuples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
tuples [2018/02/06 06:31] – wolfgangriedmann | tuples [2018/02/10 08:28] (current) – wolfgangriedmann | ||
---|---|---|---|
Line 3: | Line 3: | ||
The [[https:// | The [[https:// | ||
- | A tuple is very useful when you need fixed groups of data and don't like to define a own class for it. | + | A tuple is very useful when you need fixed groups of data and don't like to define a own class for it. To define and to create a tuple you need generics. |
+ | < | ||
+ | |||
+ | oTuple := Tuple< | ||
+ | Console.WriteLine( oTuple: | ||
+ | Console.WriteLine( oTuple: | ||
+ | Console.WriteLine( oTuple: | ||
+ | Console.WriteLine( oTuple: | ||
+ | |||
+ | Please see also the following X# forum post: [[https:// | ||
tuples.txt · Last modified: 2018/02/10 08:28 by wolfgangriedmann