declaring c# function
<p>I created a class called MyClass somewhat like this:</p>

<pre><code>public class MyClass
{ public int MyInt {get;set;}
  public int MyInt2 {get;set;}
}
</code></pre>

<p>Now I'd like to create a function that accepts an int as a parameter and that returns a list of MyClass objects.</p>

<p>I'm stuck on syntax. Is is <code>public static List&lt;MyClass&gt; MyFunction (int MyParam)</code>? I'm not getting intellisense.</p>

<p>Thanks.</p>
