Click here to Skip to main content
15,893,508 members
Home / Discussions / C#
   

C#

 
AnswerRe: Sleep or Wait functions in ASP.NET Pin
Jared Parsons1-Dec-05 7:46
Jared Parsons1-Dec-05 7:46 
AnswerRe: Sleep or Wait functions in ASP.NET Pin
Colin Angus Mackay1-Dec-05 8:28
Colin Angus Mackay1-Dec-05 8:28 
AnswerRe: Sleep or Wait functions in ASP.NET Pin
Dave Kreskowiak1-Dec-05 10:54
mveDave Kreskowiak1-Dec-05 10:54 
AnswerRe: Sleep or Wait functions in ASP.NET Pin
Reanalyse1-Dec-05 11:43
Reanalyse1-Dec-05 11:43 
QuestionHow to add Event and Delegates to UserControls? Pin
2hdass1-Dec-05 6:41
2hdass1-Dec-05 6:41 
AnswerRe: How to add Event and Delegates to UserControls? Pin
Sean Michael Murphy2-Dec-05 9:41
Sean Michael Murphy2-Dec-05 9:41 
QuestionExtracting keys and values from SortedList Pin
smurfy341-Dec-05 5:47
smurfy341-Dec-05 5:47 
AnswerRe: Extracting keys and values from SortedList Pin
Alessandro Febretti1-Dec-05 10:43
Alessandro Febretti1-Dec-05 10:43 
Yep, there's a way to do it:

double[] myArray;
SortedList myList;

[...].
myList.Values.CopyTo(myArray, 0);


The second parameter of the CopyTo method indicates the position inside myArray when the elements will start being copied.

Of course, its up to you to create an array big enough to store elements from the collection, and to check that casting from the collection elements to the array elements is consistent.


Hope this helped.


Nothing worth having comes easy.
GeneralRe: Extracting keys and values from SortedList Pin
smurfy342-Dec-05 3:01
smurfy342-Dec-05 3:01 
QuestionHow do I create a Custom DashStyle?? Pin
...---...1-Dec-05 5:03
...---...1-Dec-05 5:03 
Questiondefault email client Pin
ppp0011-Dec-05 4:47
ppp0011-Dec-05 4:47 
AnswerRe: default email client Pin
Curtis Schlak.1-Dec-05 14:47
Curtis Schlak.1-Dec-05 14:47 
QuestionGroups in Active Directory Pin
zaboboa1-Dec-05 4:06
zaboboa1-Dec-05 4:06 
AnswerRe: Groups in Active Directory Pin
Jared Parsons1-Dec-05 7:53
Jared Parsons1-Dec-05 7:53 
QuestionMultithreading Question Pin
akyriako781-Dec-05 2:09
akyriako781-Dec-05 2:09 
AnswerRe: Multithreading Question Pin
S. Senthil Kumar1-Dec-05 3:37
S. Senthil Kumar1-Dec-05 3:37 
GeneralRe: Multithreading Question Pin
akyriako781-Dec-05 6:13
akyriako781-Dec-05 6:13 
GeneralRe: Multithreading Question Pin
Jared Parsons1-Dec-05 7:55
Jared Parsons1-Dec-05 7:55 
QuestionHow to access a configuration file in a COM add-in Pin
cathignol1-Dec-05 1:36
cathignol1-Dec-05 1:36 
QuestionHow to copy file from a server to the other when other server is in different domain!!!! Pin
sammi19761-Dec-05 1:33
sammi19761-Dec-05 1:33 
AnswerRe: How to copy file from a server to the other when other server is in different domain!!!! Pin
Colin Angus Mackay1-Dec-05 4:19
Colin Angus Mackay1-Dec-05 4:19 
Questiondouble buffering Pin
bwagz1-Dec-05 1:32
bwagz1-Dec-05 1:32 
AnswerRe: double buffering Pin
mcljava2-Dec-05 8:26
mcljava2-Dec-05 8:26 
Questionwindow handle in .net Pin
ramenk1-Dec-05 1:18
ramenk1-Dec-05 1:18 
AnswerRe: window handle in .net Pin
S. Senthil Kumar1-Dec-05 3:13
S. Senthil Kumar1-Dec-05 3:13 

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.