The MessageBox.Show calls different overloaded implementations of the function based on the parameter lists. The simplest overload of MessageBox.Show is :- MessageBox.Show("Welcome to c-sharpcorner");