//public static string ReplaceEmotion(string specialKey, string image) //{ // return //} public static string ReplaceEmotions(string text) { return(text.Replace(":)", Emotions.InsertImage("happy.gif")) .Replace(":(", Emotions.InsertImage("sad.gif")) .Replace(";)", Emotions.InsertImage("winking.gif")) .Replace(";D", Emotions.InsertImage("big_grin.gif")) .Replace(":-c", Emotions.InsertImage("call_me.gif")) .Replace(":-*", Emotions.InsertImage("kiss.gif")) .Replace(":-SS", Emotions.InsertImage("applause.gif")) .Replace(":v", Emotions.InsertImage("pacman.png")) .Replace("^_^", Emotions.InsertImage("kiki.png")) .Replace("B|", Emotions.InsertImage("sunglasses.png"))); }