List.foo C# (CSharp) Method

foo() public method

public foo ( ) : void
return void
  public void foo<T2> ()
  {
    (new List<T2> ()).Map<T> (new Fun<T2,T> ());
  }
}

Usage Example

コード例 #1
0
ファイル: gtest-173.cs プロジェクト: andyhebear/Csharp-Parser
    static void Main()
    {
        List <D> x = new List <D> ();

        x.foo <C> (x);
        List <string> y = new List <string> ();

        y.foo <C> (y);
    }