p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Basics (http://p2p.wrox.com/forumdisplay.php?f=60)
-   -   Convert to C# Code (http://p2p.wrox.com/showthread.php?t=47924)

sanjaymannnet September 16th, 2006 09:36 AM

Convert to C# Code

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

dparsons September 16th, 2006 10:47 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.

All times are GMT -4. The time now is 04:43 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.