Beispiel #1
0
        public static void Main()
        {
            var client = new StringCompareClient();

            var result = client.Contains("we", "weweweweoojjj ssdaa");

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

            var result = client.Contains("we", "weweweweoojjj ssdaa");

            Console.WriteLine(result);
        }
Beispiel #3
0
        public static void Main()
        {
            string searchTerm = "hi";
            string text       = "Hello hi, hi, hellomy name is Mihil.";

            var client = new StringCompareClient();

            var result = client.Contains(searchTerm, text);

            Console.WriteLine("The text: \"{0}\" \nContains word \"{1}\" - {2} times", text, searchTerm, result);
        }
        public static void Main()
        {
            string searchTerm = "hi";
            string text = "Hello hi, hi, hellomy name is Mihil.";

            var client = new StringCompareClient();

            var result = client.Contains(searchTerm, text);

            Console.WriteLine("The text: \"{0}\" \nContains word \"{1}\" - {2} times", text, searchTerm, result);
        }