示例#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();
        }
示例#2
0
 public static int DelegateUser(StringToint sti, string s)
 {
     return(sti(s));
 }