locked
How to permute 10 numbers "abcdefghij" in c# 2012

    Question

  • i have 20 textbox and i want to add then in permutewise...

    example:

    a00.text+a01.text=c.text;

    a11.text+a12.text=c1.text;

    |||

    |||

    |||

    a99.text+a910.text=c9.text;

    then again add it permutacally upto its probability(no. of ways ends)

    a00+a12=c.text

    a11+a01=c.text and show all

    Thursday, April 3, 2014 10:35 AM

Answers

  • String permutations are all over the internet.  It sounds like you're asking us to do your homework. :-)
    Here's one link that shows you how to do it:
    http://msdn.microsoft.com/en-us/magazine/cc163513.aspx


    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.

    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined objects and unknown namespaces.

    Thursday, April 3, 2014 12:55 PM
    Moderator