|  | Product Constructor (Int32) | 
 Initializes a new product of 
Rank 0 with the supplied 
sizes of columns.
 
    Namespace: 
   Kaos.Combinatorics
    Assembly:
   KaosCombinatorics (in KaosCombinatorics.dll) Version: 6.0.0.0
 Syntax
Syntaxpublic Product(
	int[] sizes
)
Parameters
- sizes
- Type: SystemInt32
 Size of each column.
 Exceptions
Exceptions Examples
Examplesusing System;
using Kaos.Combinatorics;
namespace ExampleApp
{
    class PtExample01
    {
        static void Main()
        {
            int[] sizes = { 2, 4, 3 };
            var pt = new Product (sizes);
            Console.WriteLine ($"    ( {String.Join (", ", sizes)} )\n");
            foreach (var row in pt.GetRows())
                Console.WriteLine ($"{row.Rank,2}: {row}");
        }
        
    }
} See Also
See Also