Changes

C Sharp Variables and Constants

5 bytes added, 16:29, 14 January 2008
C# Integer Variable Types
Perhaps the most widely used of the variable types is the integer. C# provides a number of different integer types based on number size and whether the integers are signed (positive only) or unsigned (positive or negative). All the integer variable types have one thing in common and that is that they may only be used to store whole numbers.
The following table lists the various C# integer variable types together with details of the number of bytes of physical memory consumed by each type and the acceptable value ranges.
<table border="1" cellspacing="0">