Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            DayOfWeekServiceClient client = new DayOfWeekServiceClient();

            Console.WriteLine(client.GetDayName(DateTime.Now.AddDays(1)));

            client.Close();
        }
Ejemplo n.º 2
0
        static void Main()
        {
            DayOfWeekServiceClient client = new DayOfWeekServiceClient();
            var day = client.GetDayOfWeek(DateTime.Now);
            Console.WriteLine(day);

            // Always close the client.
            client.Close();
        }
Ejemplo n.º 3
0
        static void Main()
        {
            DayOfWeekServiceClient client = new DayOfWeekServiceClient();
            var day = client.GetDayOfWeek(DateTime.Now);

            Console.WriteLine(day);

            // Always close the client.
            client.Close();
        }