I want show my app user with a MessageBox based on some activity happened in that class. I was just wondering what could be the best way to do so. One way that I know doesn't seem to be the ideal one.
Deployment.Current.Dispatcher.BeginInvoke(() =>
{
MessageBox.Show(MessageString, TitleString, MessageBoxButton.OK);
});