C
cody
would it be possible to allow an extended syntax for Object instantiation so
that instead of
Hashtable<string,int> table = new Hashtable<string,int>(10, 10f);
I can write:
Hashtable<string,int> table(10, 10f);
Would this be possible or is this ambiguous to the compiler?
In some situations it would be very useful especially when using generics.
that instead of
Hashtable<string,int> table = new Hashtable<string,int>(10, 10f);
I can write:
Hashtable<string,int> table(10, 10f);
Would this be possible or is this ambiguous to the compiler?
In some situations it would be very useful especially when using generics.