Click here to Skip to main content
15,901,122 members
Home / Discussions / C#
   

C#

 
GeneralRe: price calculator [warning, long post] Pin
Eddy Vluggen12-Aug-15 20:07
professionalEddy Vluggen12-Aug-15 20:07 
Questionwhat can i use to create an installer Pin
jamesmc153511-Aug-15 22:36
jamesmc153511-Aug-15 22:36 
AnswerRe: what can i use to create an installer Pin
Richard MacCutchan12-Aug-15 2:00
mveRichard MacCutchan12-Aug-15 2:00 
AnswerRe: what can i use to create an installer Pin
dhaval.panchal512-Aug-15 3:02
dhaval.panchal512-Aug-15 3:02 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:04
jamesmc153512-Aug-15 3:04 
AnswerRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:04
professionalEddy Vluggen12-Aug-15 3:04 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:10
jamesmc153512-Aug-15 3:10 
GeneralRe: what can i use to create an installer Pin
Dave Kreskowiak12-Aug-15 3:14
mveDave Kreskowiak12-Aug-15 3:14 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:18
jamesmc153512-Aug-15 3:18 
GeneralRe: what can i use to create an installer Pin
Dave Kreskowiak12-Aug-15 4:17
mveDave Kreskowiak12-Aug-15 4:17 
GeneralRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:20
professionalEddy Vluggen12-Aug-15 3:20 
GeneralRe: what can i use to create an installer Pin
jamesmc153512-Aug-15 3:25
jamesmc153512-Aug-15 3:25 
GeneralRe: what can i use to create an installer Pin
Eddy Vluggen12-Aug-15 3:27
professionalEddy Vluggen12-Aug-15 3:27 
QuestionDisplay the Image in Form2 Pin
Member 1190306211-Aug-15 22:22
Member 1190306211-Aug-15 22:22 
AnswerRe: Display the Image in Form2 Pin
OriginalGriff12-Aug-15 0:09
mveOriginalGriff12-Aug-15 0:09 
GeneralRe: Display the Image in Form2 Pin
Delta Technologies12-Aug-15 3:08
Delta Technologies12-Aug-15 3:08 
GeneralRe: Display the Image in Form2 Pin
Dave Kreskowiak12-Aug-15 4:26
mveDave Kreskowiak12-Aug-15 4:26 
AnswerRe: Display the Image in Form2 Pin
DamithSL12-Aug-15 0:12
professionalDamithSL12-Aug-15 0:12 
QuestionError : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 18:42
Sphinxniuie11-Aug-15 18:42 
AnswerRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 18:57
mentorWendelius11-Aug-15 18:57 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:01
Sphinxniuie11-Aug-15 19:01 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Wendelius11-Aug-15 19:18
mentorWendelius11-Aug-15 19:18 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:21
Sphinxniuie11-Aug-15 19:21 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? Pin
Sphinxniuie11-Aug-15 19:26
Sphinxniuie11-Aug-15 19:26 
GeneralRe: Error : C# foreach statement cannot operate on variable of type ? PinPopular
Wendelius11-Aug-15 19:31
mentorWendelius11-Aug-15 19:31 
I'm not sure if I follow but if you operate on native objects then the following code should be just fine
C#
System.Collections.Generic.Dictionary<int, string> dict = new Dictionary<int, string>();
dict.Add(1, "A");
dict.Add(2, "B");
foreach (System.Collections.Generic.KeyValuePair<int, string> item  in dict) {
   System.Diagnostics.Debug.WriteLine(string.Format("Key: {0}, value {1}", item.Key, item.Value));
}

Then again if you have created your own classes, then you should post all the relevant code, meaning definitions and usage in order to see the whole situation.

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.