Esempio n. 1
0
        private static Task RunClassStaticSampleAsync()
        {
            Console.WriteLine("Please, please enter some text and I will calulate the lenght.");

            var txt = Console.ReadLine();

            var len = MyApi.GetLength(txt);

            Console.WriteLine($"The length of the text is: {len}");

            return(Task.CompletedTask);
        }