I need to name a class object with a string value from an array
<p>im really new to C# so please excuse my sloppy code</p>

<pre><code>public Kid(string name, int age, string location)
    {
        this.age = age;
        this.name = name;
        this.location = location;
    }
NAL = Console.ReadLine().Split(',');
Console.WriteLine("Name-{0} Age-{1} Location-{2}", NAL);
string name = "Kid" + NAL[0];
Kid [name] = new Kid(NAL[0], Int32.Parse(NAL[1]), NAL[2]);
</code></pre>

<p>i need ^ this to work but i dont understand any of the types can some one help explain this to me</p>