Click here to Skip to main content
15,881,248 members
Home / Discussions / C#
   

C#

 
GeneralBit-sized integers in C# Pin
S O S20-May-03 23:25
S O S20-May-03 23:25 
GeneralRe: Bit-sized integers in C# Pin
Scott Danley21-May-03 6:15
Scott Danley21-May-03 6:15 
GeneralRe: Bit-sized integers in C# Pin
S O S22-May-03 9:05
S O S22-May-03 9:05 
Generalftp connection test Pin
rund1me20-May-03 21:46
rund1me20-May-03 21:46 
GeneralOnly exposing interfaces from the server Pin
jwb7720-May-03 17:02
jwb7720-May-03 17:02 
GeneralRe: Only exposing interfaces from the server Pin
Arjan Einbu20-May-03 20:49
Arjan Einbu20-May-03 20:49 
GeneralRe: Only exposing interfaces from the server Pin
Adam Turner20-May-03 23:08
Adam Turner20-May-03 23:08 
GeneralReducing the size of an Array Pin
Adam Turner20-May-03 15:16
Adam Turner20-May-03 15:16 
If i create an array that is a specific size
int[] myInts = new int[10]
but only fill the first 5 values, how can i reduce the length of the array to 5? so the following will happen

myInts[0] = 5;
myInts[1] = 4;
myInts[2] = 3;
myInts[3] = 2;
myInts[4] = 1;
for (int i = 0; i < myInts.Length; i++)
{
   Console.WriteLine(myInts[i].ToString());
}
and the output would only be 5, 4, 3, 2, 1 and not throw an exception since myInts[5] is null
GeneralRe: Reducing the size of an Array Pin
firat kocak20-May-03 20:49
firat kocak20-May-03 20:49 
GeneralRe: Reducing the size of an Array Pin
Arjan Einbu20-May-03 20:57
Arjan Einbu20-May-03 20:57 
GeneralImplementing Serial number / Trial version Pin
Bog20-May-03 7:59
Bog20-May-03 7:59 
GeneralRe: Implementing Serial number / Trial version Pin
Daniel Turini20-May-03 8:27
Daniel Turini20-May-03 8:27 
GeneralRe: Implementing Serial number / Trial version Pin
Patrick Lassalle20-May-03 9:24
Patrick Lassalle20-May-03 9:24 
GeneralRe: Implementing Serial number / Trial version Pin
shaunAustin21-May-03 3:59
shaunAustin21-May-03 3:59 
GeneralRe: Implementing Serial number / Trial version Pin
Daniel Turini21-May-03 5:34
Daniel Turini21-May-03 5:34 
GeneralRe: Implementing Serial number / Trial version Pin
BigAndy21-May-03 5:49
BigAndy21-May-03 5:49 
GeneralRe: Implementing Serial number / Trial version Pin
leppie21-May-03 13:09
leppie21-May-03 13:09 
Generalquestion about crystal reports 9 Pin
cruscal20-May-03 7:24
cruscal20-May-03 7:24 
GeneralRe: question about crystal reports 9 Pin
Mazdak20-May-03 8:52
Mazdak20-May-03 8:52 
GeneralRe: question about crystal reports 9 Pin
cruscal21-May-03 5:19
cruscal21-May-03 5:19 
GeneralPacket Capture Project Pin
firat kocak20-May-03 6:43
firat kocak20-May-03 6:43 
QuestionReading a Random Access file.. how to parse bytes? Pin
dazinith20-May-03 5:03
dazinith20-May-03 5:03 
AnswerRe: Reading a Random Access file.. how to parse bytes? Pin
firat kocak20-May-03 6:26
firat kocak20-May-03 6:26 
GeneralRe: Reading a Random Access file.. how to parse bytes? Pin
dazinith20-May-03 7:22
dazinith20-May-03 7:22 
GeneralRe: Reading a Random Access file.. how to parse bytes? Pin
dazinith20-May-03 7:43
dazinith20-May-03 7:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.