• Welcome to Valhalla Legends Archive.
 
Main Menu

Hmmm

Started by shout, May 31, 2007, 03:13 AM

Previous topic - Next topic

shout

Run this.

    class Program
    {
        static void Main(string[] args)
        {
            byte[] b = new byte[]{(byte)'a', (byte)'l', (byte)' ', (byte)'g', (byte)'o', (byte)'r', (byte)'e'};
            int count = 0;
            for (int i = 0; i < b.Length; i++)
                count += b[i];
            Console.WriteLine(count);
            Console.ReadLine();

        }
    }

C#

Newby

- Newby

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote<TehUser> Man, I can't get Xorg to work properly.  This sucks.
<torque> you should probably kill yourself
<TehUser> I think I will.  Thanks, torque.

Hero


shout