I'm trying to convert to VB.NET, and there's no way that Object, when instantiated, takes any arguments for its Sub new.Code:
obj_Parameters = new Object[paramCount];
Printable View
I'm trying to convert to VB.NET, and there's no way that Object, when instantiated, takes any arguments for its Sub new.Code:
obj_Parameters = new Object[paramCount];
That I think is renewing the size of the array Object. Just my thought though, I'm not quiet sure.
VB Code:
Dim o() As Object Sub f() ReDim o(12) End Sub
edit: sample code
hope this helps. :)Code:Button[] b;
private void Form1_Load(object sender, System.EventArgs e)
{
b=new Button[12];
int y=10;
for(int i=0;i<b.Length;i++)
{
b[i]=new Button();
b[i].Text="Button"+(i+1).ToString();
b[i].Location=new Point(10,y);
y+=21;
this.Controls.Add(b[i]);
}
}
Perfect, thanks a lot.
C# is a little confusing. :(
i'ts a single fret higher than C. :bigyello: