Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
I Don't Understand This C#.Net Code
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
I Don't Understand This C#.Net Code
Divers
Thread ID:
01075170
Message ID:
01075170
Vues:
77
int size = 999;
byte[] datasize = new byte[4];
datasize = BitConverter.GetBytes(size);
When I look in the Locals window, the byte array elements contain:
datasize[0] = 231
datasize[2] = 3
datasize[3] = 0
datasize[4] = 0

I don't understand this. Can someone explain these values to me?

Thanks

Kevin
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform