Exemple #1
0
        public override string interpret(DvdInterpreterContext dvdInterpreterContext)
        {
            List<string> actors = dvdInterpreterContext.getAllActors();
            //Console.WriteLine("actors toarray " + actors.ToArray());
            //Console.WriteLine("actors " + actors);
            //Console.WriteLine("actors join to array " + string.Join(", ",actors.ToArray()));
            //Console.WriteLine("actors join " + string.Join(", ",actors));
            //Console.WriteLine("actors join to array String " + String.Join(", ",actors.ToArray()));
            //Console.WriteLine("actors join String " + String.Join(", ",actors));
            string retval = string.Join(", ",actors.ToArray());
            Console.WriteLine("retval is " + retval);

            return retval;
        }
Exemple #2
0
        override public string interpret(DvdInterpreterContext dvdInterpreterContext)
        {
            List <string> actors = dvdInterpreterContext.getAllActors();
            //Console.WriteLine("actors toarray " + actors.ToArray());
            //Console.WriteLine("actors " + actors);
            //Console.WriteLine("actors join to array " + string.Join(", ",actors.ToArray()));
            //Console.WriteLine("actors join " + string.Join(", ",actors));
            //Console.WriteLine("actors join to array String " + String.Join(", ",actors.ToArray()));
            //Console.WriteLine("actors join String " + String.Join(", ",actors));
            string retval = string.Join(", ", actors.ToArray());

            Console.WriteLine("retval is " + retval);

            return(retval);
        }