Help with random name generator

07/17/2013 22:54 'Unicorn'#1
I'm noob at programming and i wanna make a random name generator but i don't know how to make it,i don't wanna make it random i wanna make a list of names and then the program generates them and when i have new names i put them on the list,if somebody can help me i'll be very greatful ;)
07/17/2013 23:37 'Aleo#2
Use Arrays and the Random class. Coded in C#
Code:
string GenName(string[] names)
        {
            Random r = new Random();
            return names[r.Next(names.Length)];
        }
07/18/2013 00:07 'Unicorn'#3
Quote:
Originally Posted by 'Aleo View Post
Use Arrays and the Random class. Coded in C#
Code:
string GenName(string[] names)
        {
            Random r = new Random();
            return names[r.Next(names.Length)];
        }

i was trying to learn in vb,can't u write that in vb? :S
thanks
07/18/2013 00:13 'Aleo#4
Use one of the translators in the internet -> Google
07/18/2013 00:22 'Unicorn'#5
Quote:
Originally Posted by 'Aleo View Post
Use one of the translators in the internet -> Google
Thanks i didn't know that thing exists :handsdown: