Esempio n. 1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            EmpolyLevel JobTitle;

            JobTitle  = EmpolyLevel.研究員;
            this.Text = CompanyName + " " + JobTitle.ToString() + " " + JobTitle.GetHashCode();
        }
Esempio n. 2
0
        public override string DefaultGreeting()
        {
            string article = "a";

            List <string> vowels = new List <string>()
            {
                "A", "E", "I", "O", "U"
            };

            if (vowels.Contains(JobTitle.ToString().Substring(0, 1)))
            {
                article = "an";
            }

            return($"Hello, my name is {Name} and I am {article} {JobTitle} for the Aion Project.");
        }