vb.net - VB to C# conversion of Byte -


Some codes were taking from vb and converting it to c #. I have this line:

  dim foo byte () = {155, 253, 147, 202, 22, 59, 228, 6, 61, 16, 158, 60, 47, 138 , 40, 178}  

and I want to convert it into a C # code.

But I know:

Byte Fu = {155, 253, 147, 202, 22, 59, 228, 6, 61, 16, 158, 60, 47, 138 , 40, 178};

Not right Do you think someone gives me some insight on this and explains what is the correct answer?

This is an array that starts it like this:

  Byte [] foo = {155, 253, 147, 202, 22, 59, 228, 6, 61, 16, 158, 60, 47, 138, 40, 178};  

Before you go ahead, you should read, or even a good text book. If you try to code in a language without basic syntax, then you will essentially write a very bad code.


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -