¡@

Home 

c# Programming Glossary: puppies

Is there a good LINQ way to do a cartesian product?

http://stackoverflow.com/questions/4073713/is-there-a-good-linq-way-to-do-a-cartesian-product

There is one person. He has 1..n dogs. Each dog has 1..n puppies. I want a list of all the possible combination of puppies taking.. puppies. I want a list of all the possible combination of puppies taking 1 puppy from each dog. Eg dog 1 puppy A dog 2 puppy A.. like the following to 'multiply' the tables select from puppies a puppies b where a.parent 'dog1' and b.parent 'dog2' Is there..