Click here to Skip to main content
16,005,037 members
Home / Discussions / C#
   

C#

 
AnswerRe: Hide Windows Application in System Tray? Pin
Stefan Troschuetz5-Sep-06 5:23
Stefan Troschuetz5-Sep-06 5:23 
QuestionIs there bidirectional iterator in C# Pin
AndriyZZ5-Sep-06 5:11
AndriyZZ5-Sep-06 5:11 
AnswerRe: Is there bidirectional iterator in C# Pin
Not Active5-Sep-06 7:28
mentorNot Active5-Sep-06 7:28 
GeneralRe: Is there bidirectional iterator in C# Pin
AndriyZZ5-Sep-06 9:37
AndriyZZ5-Sep-06 9:37 
GeneralRe: Is there bidirectional iterator in C# Pin
Not Active5-Sep-06 9:49
mentorNot Active5-Sep-06 9:49 
GeneralRe: Is there bidirectional iterator in C# Pin
AndriyZZ5-Sep-06 10:17
AndriyZZ5-Sep-06 10:17 
GeneralRe: Is there bidirectional iterator in C# Pin
Not Active5-Sep-06 10:34
mentorNot Active5-Sep-06 10:34 
AnswerRe: Is there bidirectional iterator in C# Pin
Nader Elshehabi5-Sep-06 11:10
Nader Elshehabi5-Sep-06 11:10 
Hello

I don't know why you are making things compicated for yourself?? Random access collections work fine in most scenarios!! If you don't want to wrapp an iterator to implement what you need, well, here is a simple - poor pratice- way to simulate what you need.

1- Make a private random access collection. eg. ArrayList
2- Make a private integer to store the current index
3- Make a public object of the type you want to store in the ArayList.
4- Make to public methods MoveNext(), MoveBack(), to increase/decrease the CurrentIndex and store MyIterator[CurrentIndex] in ther public object you created.

RegardsRose | [Rose]

GeneralRe: Is there bidirectional iterator in C# Pin
AndriyZZ5-Sep-06 11:20
AndriyZZ5-Sep-06 11:20 
QuestionShell Namespace Question Pin
RSL-REK5-Sep-06 4:59
RSL-REK5-Sep-06 4:59 
AnswerRe: Shell Namespace Question Pin
led mike5-Sep-06 7:52
led mike5-Sep-06 7:52 
GeneralRe: Shell Namespace Question Pin
RSL-REK8-Sep-06 4:46
RSL-REK8-Sep-06 4:46 
GeneralRe: Shell Namespace Question Pin
led mike8-Sep-06 4:58
led mike8-Sep-06 4:58 
Questionserial communication with antenna Pin
faladrim5-Sep-06 4:31
faladrim5-Sep-06 4:31 
AnswerRe: serial communication with antenna Pin
Dan Neely5-Sep-06 5:08
Dan Neely5-Sep-06 5:08 
AnswerRe: serial communication with antenna Pin
Nader Elshehabi5-Sep-06 11:02
Nader Elshehabi5-Sep-06 11:02 
QuestionUnable to read app.config file Pin
Goalie355-Sep-06 4:18
Goalie355-Sep-06 4:18 
AnswerRe: Unable to read app.config file Pin
Rob Philpott5-Sep-06 4:34
Rob Philpott5-Sep-06 4:34 
GeneralRe: Unable to read app.config file Pin
Goalie355-Sep-06 4:46
Goalie355-Sep-06 4:46 
GeneralRe: Unable to read app.config file Pin
S. Senthil Kumar5-Sep-06 18:03
S. Senthil Kumar5-Sep-06 18:03 
QuestionCommand line and args[] question Pin
User 66585-Sep-06 3:56
User 66585-Sep-06 3:56 
AnswerRe: Command line and args[] question Pin
trannguyen865-Sep-06 4:18
trannguyen865-Sep-06 4:18 
GeneralRe: Command line and args[] question Pin
User 66585-Sep-06 4:20
User 66585-Sep-06 4:20 
AnswerRe: Command line and args[] question Pin
Dustin Metzgar5-Sep-06 4:20
Dustin Metzgar5-Sep-06 4:20 
GeneralRe: Command line and args[] question Pin
User 66585-Sep-06 4:24
User 66585-Sep-06 4:24 

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.