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.