Thanks for the reply. After I submitted the post, I did just what you suggested and it worked.
with anonymous functions in C#.
public void TwitterStream()
var stream = Stream.CreateSampleStream();
stream.TweetReceived += (sender, args) =>
Note that if I change the function so that it only passes a static message to the alert function, it will work.