Esempio n. 1
0
        void ReadEmails()
        {
            var current = "1";

            while (!string.IsNullOrEmpty(current))
            {
                Console.Write("E-mail(if you havn't got e-mail address, don't write anything):\n");
                var email = new EmailAddress {
                    Address = Console.ReadLine()
                };
                if (!String.IsNullOrEmpty(email.Address))
                {
                    vCard.Add_email(email);
                }
                else
                {
                    current = "";
                }
            }
        }