diablosvo

diablosvo

  • NA
  • 21
  • 0

searching an array of strings to another array.

Mar 23 2004 8:03 PM
Hey, i'm a new programmer to C# and i have loads of questions. I started on my first project which is a program that allows you to search in 5 ways for codons/anticodons of a 3 letter codons (all that is biology stuff) I've been trying to add a way for the user to input a sequence of codons (3 letters seperated by a space or comma) then the program outputs the names of the codons he has inputed. I have 2 arrays, one array is an array of 21 objects, the other array is an array of strings. The array of strings is filled in with whatever the user inputs by the Split() function. I'm trying to compare the strings in the strings array to all the object's string property in the objects array. I can't use a for statment because both arrays alwasy differ in length. Anyone know how? I also have another question. Whats the easiest way to make the first letter in a string upper case?

Answers (3)