View Single Post
Old 04-05-2009, 08:12 PM   #2 (permalink)
kmote
 

Join Date: Jul 2005

Location: England

Posts: 2,166

kmote has a spectacular aura aboutkmote has a spectacular aura about

Default Re: Reading a book about C#. (newbie question)

Really what he is saying is a simple binary concept. Where n is the size of the variable in bits the number of values that variable can hold can be calculated by the sum 2^n. For example, if your variable is 8 bits it can have a value between 0 and 255 (or 256 values).
__________________
MSI P43 Neo|Enermax Pro82+ 425W|E5200|silent 8500GT|250GB Samsung spinpoint F1|Samsung SATA DVD RW|4GB Corsair|Antec SOLO|openSUSE11


There are in order of increasing severity: lies, darn lies, statistics, and computer benchmarks. - diskinfo man page
kmote is online now