Click here to Skip to main content
15,903,201 members
Home / Discussions / C#
   

C#

 
AnswerRe: problem with TCP connection Pin
#realJSOP5-Jun-08 2:49
professional#realJSOP5-Jun-08 2:49 
GeneralRe: problem with TCP connection Pin
johland5-Jun-08 3:11
johland5-Jun-08 3:11 
QuestionArray Management Pin
DwR5-Jun-08 0:01
DwR5-Jun-08 0:01 
AnswerRe: Array Management Pin
leppie5-Jun-08 0:20
leppie5-Jun-08 0:20 
GeneralRe: Array Management Pin
DwR5-Jun-08 0:26
DwR5-Jun-08 0:26 
GeneralRe: Array Management Pin
leppie5-Jun-08 1:16
leppie5-Jun-08 1:16 
AnswerRe: Array Management Pin
Ashfield5-Jun-08 0:29
Ashfield5-Jun-08 0:29 
AnswerRe: Array Management Pin
Sajjad Izadi5-Jun-08 0:57
Sajjad Izadi5-Jun-08 0:57 
int i=0;
try // you can try if there is an array index and catch it if you are going out of your array bound
{
for(i=0;i<doublearray.legnth;i++)>
{
//it replaces the next index with the current index
doubleArray[i]=doubleArray[i+1];
}
}
// if you call doubleArray[doubleArray.Legnth], actully you have called an out of bound index, so you have made an exception and you can solve it with a try-catch statement
catch
{
//now your newValue is replace as doubleArray[doubleArray.Legnth-1]
doubleArray[i]=newValue;
}
GeneralRe: Array Management Pin
moon_stick5-Jun-08 1:39
moon_stick5-Jun-08 1:39 
GeneralRe: Array Management Pin
DaveyM695-Jun-08 12:01
professionalDaveyM695-Jun-08 12:01 
GeneralRe: Array Management Pin
Robert.C.Cartaino6-Jun-08 6:12
Robert.C.Cartaino6-Jun-08 6:12 
GeneralRe: Array Management Pin
Sajjad Izadi13-Jun-08 21:09
Sajjad Izadi13-Jun-08 21:09 
AnswerRe: Array Management Pin
Guffa5-Jun-08 1:33
Guffa5-Jun-08 1:33 
AnswerRe: Array Management Pin
#realJSOP5-Jun-08 2:51
professional#realJSOP5-Jun-08 2:51 
GeneralRe: Array Management Pin
leppie5-Jun-08 3:08
leppie5-Jun-08 3:08 
GeneralRe: Array Management Pin
#realJSOP5-Jun-08 4:14
professional#realJSOP5-Jun-08 4:14 
GeneralRe: Array Management Pin
leppie5-Jun-08 4:46
leppie5-Jun-08 4:46 
AnswerRe: Array Management Pin
Bhumikabarot5-Jun-08 3:36
Bhumikabarot5-Jun-08 3:36 
GeneralRe: Array Management Pin
DwR5-Jun-08 5:07
DwR5-Jun-08 5:07 
QuestionHow i can add windows service using C# Code Pin
wasimsharp4-Jun-08 23:57
wasimsharp4-Jun-08 23:57 
AnswerRe: How i can add windows service using C# Code Pin
leppie5-Jun-08 0:21
leppie5-Jun-08 0:21 
GeneralRe: How i can add windows service using C# Code Pin
wasimsharp5-Jun-08 0:22
wasimsharp5-Jun-08 0:22 
QuestionHttpListener.BeginGetContext Pin
George_George4-Jun-08 23:55
George_George4-Jun-08 23:55 
AnswerRe: HttpListener.BeginGetContext Pin
Christian Flutcher5-Jun-08 1:17
Christian Flutcher5-Jun-08 1:17 
GeneralRe: HttpListener.BeginGetContext Pin
George_George5-Jun-08 1:31
George_George5-Jun-08 1:31 

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.