static void Main(string[] args)
 {
     var req = new NetflixRouletteAPI.NetflixRouletteAPI();
     var res = req.GetData("House of Cards");
     foreach (PropertyInfo pi in res.GetType().GetProperties())
     {
         Console.WriteLine(pi.Name + ": " + pi.GetValue(res));
     }
     Console.Read();
 }
Example #2
0
        static void Main(string[] args)
        {
            var req = new NetflixRouletteAPI.NetflixRouletteAPI();
            var res = req.GetData("House of Cards");

            foreach (PropertyInfo pi in res.GetType().GetProperties())
            {
                Console.WriteLine(pi.Name + ": " + pi.GetValue(res));
            }
            Console.Read();
        }