I would like to implement a template which contains an array of the template Type. Is there a way to do something similar to what I have outlined in my sample code? The problem is in the line where this.foo is assigned a new array of the template type.
class Classname<T>
{
T[] foo
Classname()
{
this.foo=new T[128];
}
}