Search through string in a string

Apr 14 2010 8:34 AM

Hello guys,
i'm new here and new to C# programming, but trying hard to learn it.
Question
I need to store two values (string, int) in one object. Wich object can i use best?
Situation
I'm writing a small program that is going to search through a couple of text blocks and returns how many times the word that the user has filled in by input appears in the corresponding text. After this i need to sort these items with the most returns at the top, DESC i think?
Looking forward to your replies!
beste regards,
 
Rob

Answers (2)