title: Method with generic return type but not generic input. Is this possible?
body: <p>Suppose we have a <code>NodeData</code> class:</p>
  
  <pre><code>public class NodeData&lt;T&gt;
  {
      public string Name;
      public T Value;
      public NodeData(string name, T value)
      {
          this.Name = name;
          this.Value = value;
      }
  }
  </code></pre>
  
  <p>And a base <code>Node</code> class and child classes that have several properties with type <code>NodaData</code>:</p>
  
  <pre><code>public class Node
  {
      public List&lt;NodeData&lt;T&gt;&gt; listOutputs&lt;T&gt;()
      {
          var fieldInfos = GetType().GetFields();
          var list = new List&lt;NodeData&lt;T&gt;&gt;();
          foreach (var item in fieldInfos)
          {
              Type t = item.FieldType;
              string name = item.Name;
              if (t == typeof(NodeData&lt;T&gt;))
              {
                  var output = new NodeData&lt;T&gt;(name, default(T));
                  list.Add(output);
              }
          }
          return list;
      }
  }
  
  public class TestNode : Node {
      public NodeData&lt;int&gt; data;
      public NodeData&lt;double&gt; data2;
      public NodeData&lt;double&gt; data3;
      public TestNode ()
      {
          data = new NodeData&lt;int&gt;("test", 111);
          data2 = new NodeData&lt;double&gt;("test", 113);
      }
  }
  </code></pre>
  
  <p>As you can see there is a method which lists all outputs with type <code>T</code> in the <code>Node</code> class So I can find what are the output fields of the child class in runtime:</p>
  
  <pre><code>TestNode node = new TestNode ();
  var list = node.listOutputs&lt;int&gt;(); // this returns data
  </code></pre>
  
  <p>But I need to know how to use this method to list all NodeOutputs of any type T. In this example <code>int</code> and <code>double</code>. Do I need to add a method with this signature <code>public List&lt;NodeData&lt;T&gt;&gt; listOutputs() // should return all properties data, data2, data3</code>. Is it possible to have method like this? return type is generic but there is no type argument for method.</p>