c# Programming Glossary: tuples
Multi-key dictionary in c#? http://stackoverflow.com/questions/1171812/multi-key-dictionary-in-c 2 keys. c# share improve this question I also use tuples as Jason does. However I suggest you simply define a tuple as..
Will a future version of .NET support tuples in C#? http://stackoverflow.com/questions/152019/will-a-future-version-of-net-support-tuples-in-c a future version of .NET support tuples in C# .Net 3.5 doesn't support tuples. Too bad But not sure.. of .NET support tuples in C# .Net 3.5 doesn't support tuples. Too bad But not sure whether the future version of .net will.. not sure whether the future version of .net will support tuples or not c# .net tuples language features share improve this..
Getting attributes of Enum's value http://stackoverflow.com/questions/1799370/getting-attributes-of-enums-value What I want is given the enum type produce 2 tuples of enum string value and its description. Value was easy Array..
What requirement was the tuple designed to solve? http://stackoverflow.com/questions/3089706/what-requirement-was-the-tuple-designed-to-solve designed to solve I'm looking at the new C# feature of tuples. I'm curious what problem was the tuple designed to solve What.. problem was the tuple designed to solve What have you used tuples for in your apps Update Thanks for the answers thus far let.. coords.Item1 coords.Item2 Is that correct c# tuples share improve this question When writing programs it is..
Is F# really better than C# for math? http://stackoverflow.com/questions/379722/is-f-really-better-than-c-sharp-for-math properties etc are easier to use over full life cycle than tuples and head tail lists but that might just be me. This is of course.. about F# is that you can start writing the program using tuples head tail lists and later in the development process turn it..
C# (.NET) Design Flaws [closed] http://stackoverflow.com/questions/411906/c-sharp-net-design-flaws mutating the collection should not invalidate the iterator tuples are easy to add but an efficient closed algebraic type like..
Pair-wise iteration in C# or sliding window enumerator http://stackoverflow.com/questions/577590/pair-wise-iteration-in-c-sharp-or-sliding-window-enumerator same thing and do it not just for pairs but for any size tuples. IMHO there should be a nice way to do this kind of sliding..
Equivalent of Tuple (.NET 4) for .NET Framework 3.5 http://stackoverflow.com/questions/7120845/equivalent-of-tuple-net-4-for-net-framework-3-5 values from a method rather than create a struct . c# tuples share improve this question No not in .Net 3.5. But it shouldn't..
What is C# analog of C++ std::pair? http://stackoverflow.com/questions/166089/what-is-c-sharp-analog-of-c-stdpair structures std pair bcl share improve this question Tuples will be a part of .NET4.0 and will support generics Tuple string..
What is bad practice when using out parameters? http://stackoverflow.com/questions/2366741/what-is-bad-practice-when-using-out-parameters you can use the Tuple type in the upcoming .NET framework. Tuples are basically a bunch of values wrapped in a type. They are..
Is Using Tuples in my .NET 4.0 Code a Poor Design Decision? http://stackoverflow.com/questions/3017352/is-using-tuples-in-my-net-4-0-code-a-poor-design-decision Using Tuples in my .NET 4.0 Code a Poor Design Decision With the addition.. aside the possibility that I am missing the point of Tuples is the example with a Tuple a bad design choice To me it seems.. tuples application design share improve this question Tuples are great if you control both creating and using them you can..
What requirement was the tuple designed to solve? http://stackoverflow.com/questions/3089706/what-requirement-was-the-tuple-designed-to-solve is at this point no language support for tuples in C#. Tuples are just another data type like any other framework class there's..
Is F# really better than C# for math? http://stackoverflow.com/questions/379722/is-f-really-better-than-c-sharp-for-math and that's how I believe typical F# programmer works . Tuples etc. and F# interactive development tools give you a great way..
Tuples( or arrays ) as Dictionary keys in C# http://stackoverflow.com/questions/955982/tuples-or-arrays-as-dictionary-keys-in-c-sharp or arrays as Dictionary keys in C# I am trying to make a Dictionary..
|