static void Main(string[] args) { Console.WriteLine("Please. Enter your name!"); string name = Console.ReadLine(); Console.WriteLine(CreaterString.CreaterHelloString(DateTime.Now, name)); }
private void button1_Click(object sender, EventArgs e) { MessageBox.Show(CreaterString.CreaterHelloString(DateTime.Now, textBox1.Text)); }