Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
A letter or a number can't be represented by a bit! 1 bit is either 0 or 1. A byte is a sequence of 8 bits. In older programming languages, a character is represented by a byte that contains the ascii code for that character. In .NET however, characters are represented by their unicode value.... And a number like an int (Int32) is stored in memory in 4 bytes....
qrt
Posted

I think Jedhi is talking about the byte and Byte in C# and VB.NET respectively.

 

Byte represents 1 byte of memory = 8 bits (this type is present in VB.NET)

 

byte is the same but this type is used in C#

 

Hope this helps,

Dream as if you'll live forever, live as if you'll die today

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...