Subject: Convert to C# Code
Posted By: sanjaymannnet Post Date: 9/16/2006 9:36:19 AM
Hi,

Please help, this line of code is in VB.Net
dim intSize  as Integer=10;
Dim objByte() As Byte = New Byte(intSize) {}

How can i write it in C#?


Thanks in advance



Reply By: dparsons Reply Date: 9/16/2006 10:47:35 AM
There are plenty of VB to C# converters out there, google for them.

(Also, what is the point of defining a byte with the dimension as a variable if you are statically setting the integer size?)

--Stole this from a moderator

I will only tell you how to do it, not do it for you.  

Unless, of course, you want to hire me to do work for you.

Go to topic 49836

Return to index page 173
Return to index page 172
Return to index page 171
Return to index page 170
Return to index page 169
Return to index page 168
Return to index page 167
Return to index page 166
Return to index page 165
Return to index page 164