Beispiel #1
0
        static void Main(string[] args)
        {
            StringToint sti = new StringToint(CountChars);

            Console.WriteLine(sti("Hej Med Dig"));
            Console.WriteLine(sti("YoBitch"));
            Console.WriteLine(sti("HvaDSåNoob"));
            Console.WriteLine(DelegateUser(sti, "Yoooooo"));
            Console.ReadLine();
        }
Beispiel #2
0
 public static int DelegateUser(StringToint sti, string s)
 {
     return(sti(s));
 }