コード例 #1
0
    static void Main()
    {
        MyFilter m = new MyFilter();

        System.Console.WriteLine(foo1 <K> (m).Count);
        MyBFilter mb = new MyBFilter();

        System.Console.WriteLine(foo1 <B> (mb).Count);
    }
コード例 #2
0
    static void Test1()
    {
        MyFilter m = new MyFilter();

        System.Console.WriteLine(foo1 <K>(m).Length);
        MyBFilter mb = new MyBFilter();

        System.Console.WriteLine(foo1 <B>(mb).Length);
    }