static void Main(string[] args)
        {
            // int sumOfLetterValues = AsciiSymbols.DisplaySumOfAsciiValues("Jordan");
            //  Console.WriteLine(sumOfLetterValues);

            // let's make an Array of Names

            String[] names = new String[3];
            names[0] = "Mary";
            names[1] = "Jordan";
            names[2] = "Susan";


            NameAndNumberData [] theAnswer = MySolution.MyMethod(names);
        }
Example #2
0
        static void Main(string[] args)
        {
            // int sumOfLetterValues = AsciiSymbols.DisplaySumOfAsciiValues("Jordan");
            //  Console.WriteLine(sumOfLetterValues);

            // let's make an Array of Names

            String[] names = new String[3];
            names[0] = "Mary";
            names[1] = "Jordan";
            names[2] = "Susan";


            String [] theAnswer = MySolution.MyMethod(names);

            for (int i = 0; i < theAnswer.Length; i++)
            {
                Console.WriteLine(theAnswer[i]);
            }
        }