I’m surprised nobody posted the LINQ solution.
from val0 in new []{ "1", "5", "3", "9" }
from val1 in new []{ "2", "3" }
from val2 in new []{ "93" }
select String.Format("val0={0};val1={1};val2={2}", val0, val1, val2)
More Related Contents:
- When to use ArrayList over array[] in c#?
- When to use ArrayList over array[] in c#?
- Determine if a number can be made with prepicked numbers and times
- All possible array initialization syntaxes
- Declare a const array
- Why do C# multidimensional arrays not implement IEnumerable?
- Best way to combine two or more byte arrays in C#
- Why isn’t ArrayList marked [Obsolete]?
- What is the default value of a member in an array?
- Passing array of strings to webmethod with variable number of arguments using jQuery AJAX
- .Net Data structures: ArrayList, List, HashTable, Dictionary, SortedList, SortedDictionary — Speed, memory, and when to use each? [closed]
- Getting the index of a particular item in array
- How do I find duplicates in an array and display how many times they occurred?
- An integer array as a key for Dictionary
- C# Append byte array to existing file
- Wildcard equivalent in C# generics
- How do I check if my array has repeated values inside it?
- What interfaces do all arrays implement in C#?
- ArrayList vs List
- List complex sorting
- Making an indexed control array?
- string.Join on a List or other type
- What’s the best way of creating a readonly array in C#?
- How to delete an array in c#?
- Looking at each combination in jagged array
- Using XmlSerializer with an array in the root element
- Is it possible to extend arrays in C#?
- Find the first occurrence/starting index of the sub-array in C#
- byte[] to BitmapImage in silverlight
- Array of an unknown length in C#