- Joined
- Mar 17, 2009
- Messages
- 1,911
- Reaction score
- 538
Hey guys, I'm starting to do C# again a bit, and I need some array help.
Heres my array:
string[] names = new string[5] { "Riku", "Riku1", "Riku2", "Riku3", "Riku4" };
Now I was wondering if I could do something like, if my computer-name equals one of those 5 names it does something, anyone have any ideas?
Thanks,
Riku
Heres my array:
string[] names = new string[5] { "Riku", "Riku1", "Riku2", "Riku3", "Riku4" };
Now I was wondering if I could do something like, if my computer-name equals one of those 5 names it does something, anyone have any ideas?
Thanks,
Riku