What is the VB.NET equivalent of this?

 

private byte[] readBuffer;
...

readBuffer = new byte[1024];

 

Is it the following? Or is there a modern replacement for the
CreateInstance?

 

Private readBuffer() As Byte
...
readBuffer = Array.CreateInstance(GetType(Byte), 1024)

 

Greg

 

Ps. I wondered by my ''' + enter was not generating XML documentation stubs
this morning. I wasted time looking though all of the VS2010 options, but it
turns out that sometime last week I turned off "Generate XML documentation"
in the project settings and that kills the intellisense.

 

Reply via email to