public static void Main()
string strItemCode = "sony-dvd-062019";
string[] sections= strItemCode.Split('-');
string Manufacturer = sections[0];
string Product = sections[1];
string Month = sections[2].Substring(0,2);
string Year = sections[2].Substring(2,4);
Console.WriteLine("Manufacturer:{0}, Product:{1}, Month:{2}, Year:{3}", Manufacturer, Product, Month, Year);
Console.WriteLine("Please enter your email here:");
string strEmail = Console.ReadLine();
if(strEmail.IndexOf('@') !=-1){
string userName = strEmail.Substring(0, strEmail.IndexOf('@'));
string Domain = strEmail.Substring(strEmail.IndexOf('@')+1);
Console.WriteLine("User Name: {0}, Domain: {1}", userName, Domain);
Console.WriteLine("This email is not valid");