I am trying to implement this example
http://blog.evonet.com.au/post/Gridview-with-highlighted-search-results.aspx
but the only problem I am facing is the Ad
You should be able to use something like this:
return ResultStr.Replace(InputTxt, new MatchEvaluator(ReplaceWords))
Basically, in c# you don't need the 'addressOf' operator. I like having it, since it makes it real clear whats up, but c# is just like that.