Exemple #1
0
        private static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            DayOfWeekServiceClient dayOfWeekServiceClient = new DayOfWeekServiceClient();
            Console.WriteLine(dayOfWeekServiceClient.GetDayOfWeekAsync(DateTime.Now).Result);
        }
        private static void Main()
        {
            Console.OutputEncoding = Encoding.UTF8;

            DayOfWeekServiceClient dayOfWeekServiceClient = new DayOfWeekServiceClient();

            Console.WriteLine(dayOfWeekServiceClient.GetDayOfWeekAsync(DateTime.Now).Result);
        }
        private static void Main()
        {
            DayOfWeekServiceClient dayOfWeekServiceClient = new DayOfWeekServiceClient();
            Console.WriteLine(dayOfWeekServiceClient.GetDayOfWeekAsync(DateTime.Now).Result);

            StringOccurrencesServiceClient stringOccurrencesClient = new StringOccurrencesServiceClient();
            Console.WriteLine(stringOccurrencesClient.GetOccurrences("a", "alabala"));
        }
        private static void Main()
        {
            DayOfWeekServiceClient dayOfWeekServiceClient = new DayOfWeekServiceClient();

            Console.WriteLine(dayOfWeekServiceClient.GetDayOfWeekAsync(DateTime.Now).Result);

            StringOccurrencesServiceClient stringOccurrencesClient = new StringOccurrencesServiceClient();

            Console.WriteLine(stringOccurrencesClient.GetOccurrences("a", "alabala"));
        }