SethElite, Lern2C#
#19
Code:
public class CWhatIDo{
    
    public static void Main() {
        int[] arr = new int[]
                    {67, 29, -71, 1, 85, -78, -22, 58, 10, -70,
                     61, 14, -56, -15, 56, 7, -63, 2, -6, 9, 2,
                     -14, -4, 20, 61, 4, -56, -18, 10, 0, 46, 20,
                     -67, 4, 59, -13, -63, 14, -4, 50, 15, -57,
                     52, -2, -65, -2, 4, 55, 11, -78, 25, 4, -8,
                     -2, -4, 52, 1, -51, 8, -14, 10, 6, -23, -5,
                     28, 54, -10, -66, 71, 1, -50, -7, -21, 22,
                     59, 2, -57, 52, -14, -42, 2, -19, 7, 55, 16,
                     -56, -15, 56, 16, -79, 16, 47, 10, -70, 61,
                     14, -56, -15, 56, 1, -51, 8, -14, 10, 6, -23,
                     -5, 77, 1, -53, -25, 6, 19, -13, -12, 68, 15,
                     -56, -15, 56, -2, -52, -2, 5, -18, 93, -79,
                     84, -59, -33, -4, 18, -14, 16, 47, 30, -3,
                     -82, 55, -60, -7, 6, 6, 9, -22, 82, -18,
                     -46, 4, 46, 15, -56, -19, 12, 63, -1, -76,
                     -6, 4, 20, -12, 61}; //Wee.
        char[] chars = new char[arr.Length];
    
        int diff = arr[0];
        int n = arr[0];
        chars[0] = arr[0];
        Console.Write(chars[0]);
        for (int i = 1; i < arr.Length; i++){ // I herd you like decoding it.
            diff += arr[i];
            n ^= diff;
            chars[i] = (char)n;
            Console.Write(chars[i]);
        }
    }
}
Reply


Messages In This Thread
SethElite, Lern2C# - by Kortestanov - 2009-07-18, 05:41 PM
SethElite, Lern2C# - by Melancholy - 2009-07-18, 05:53 PM
SethElite, Lern2C# - by Takebacker - 2009-07-18, 05:57 PM
SethElite, Lern2C# - by Rob - 2009-07-18, 06:01 PM
SethElite, Lern2C# - by Greg22 - 2009-07-18, 06:01 PM
SethElite, Lern2C# - by xLeviathan - 2009-07-18, 06:04 PM
SethElite, Lern2C# - by Takebacker - 2009-07-18, 06:13 PM
SethElite, Lern2C# - by Greg22 - 2009-07-18, 06:15 PM
SethElite, Lern2C# - by Rob - 2009-07-18, 06:17 PM
SethElite, Lern2C# - by Greg22 - 2009-07-18, 06:18 PM
SethElite, Lern2C# - by Nikkey - 2009-07-18, 06:20 PM
SethElite, Lern2C# - by Takebacker - 2009-07-18, 06:26 PM
SethElite, Lern2C# - by Greg22 - 2009-07-18, 06:32 PM
SethElite, Lern2C# - by Kirov - 2009-07-18, 06:36 PM
SethElite, Lern2C# - by Heidi - 2009-07-18, 06:36 PM
SethElite, Lern2C# - by chrome - 2009-07-18, 06:36 PM
SethElite, Lern2C# - by Sn1perJohnE - 2009-07-18, 06:38 PM
SethElite, Lern2C# - by Takebacker - 2009-07-18, 07:28 PM
SethElite, Lern2C# - by Nikkey - 2009-07-18, 08:11 PM
SethElite, Lern2C# - by Dusk - 2009-07-18, 10:33 PM
SethElite, Lern2C# - by SethElite - 2009-07-18, 11:43 PM
SethElite, Lern2C# - by Nikkey - 2009-07-18, 11:47 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)