I have a big string, and want to find the first occurrence of X, X is \"numberXnumber\"... 3X3, or 4X9...
How could i do this in C#?
Do you want the number, or the index of the number? You can get both of these, but you're probably going to want to take a look at System.Text.RegularExpressions.Regex
The actual pattern is going to be [0-9]x[0-9] if you want only single numbers (89x72 will only match 9x7), or [0-9]+x[0-9]+ to match the longest consecutive string of numbers in both directions.