public static void Main(string[] args)
        {
            DayServiceClient client = new DayServiceClient();

            var result = client.GetDayOfWeek(DateTime.Now);
            Console.WriteLine(result);
        }
Beispiel #2
0
 public static void Main()
 {
     var client = new DayServiceClient();
     DateTime date = DateTime.Now;
     string day = client.GetDayOfWeek(date);
     Console.WriteLine(day);
 }
        public static void Main(string[] args)
        {
            DayServiceClient client = new DayServiceClient();

            var result = client.GetDayOfWeek(DateTime.Now);

            Console.WriteLine(result);
        }
        public static void Main()
        {
            DayServiceClient client = new DayServiceClient();

            using (client)
            {
                var dayOfWeek = client.GetDay(new DateTime(2015, 11, 21));
                Console.WriteLine(dayOfWeek);
            }
        }
        public static void Main()
        {
            DayServiceClient client = new DayServiceClient();

            using (client)
            {
                var dayOfWeek = client.GetDay(new DateTime(2015, 11, 21));
                Console.WriteLine(dayOfWeek);
            }
        }