Click here to Skip to main content
15,565,661 members
Home / Discussions / C#
   

C#

 
AnswerRe: Geolocation with c# winforms Pin
Peter Leow22-Mar-14 18:05
professionalPeter Leow22-Mar-14 18:05 
Questiondynamic sql result not shown in DevExpress DataGrid Pin
Jassim Rahma21-Mar-14 13:26
Jassim Rahma21-Mar-14 13:26 
Questionmoving from iphone to asp.net Pin
dsp121-Mar-14 0:41
dsp121-Mar-14 0:41 
AnswerRe: moving from iphone to asp.net Pin
Vishal Pand3y21-Mar-14 1:06
Vishal Pand3y21-Mar-14 1:06 
AnswerRe: moving from iphone to asp.net Pin
OriginalGriff21-Mar-14 3:16
mvaOriginalGriff21-Mar-14 3:16 
QuestionMany instances of the same class by a loop Pin
mrRsChief20-Mar-14 16:32
mrRsChief20-Mar-14 16:32 
AnswerRe: Many instances of the same class by a loop Pin
Dave Kreskowiak20-Mar-14 18:06
mveDave Kreskowiak20-Mar-14 18:06 
AnswerRe: Many instances of the same class by a loop Pin
Wayne Gaylard20-Mar-14 21:03
professionalWayne Gaylard20-Mar-14 21:03 
You should really declare a collection of Horses, and then in your loop, create a new Horse and give a name based on the current name in the array
C#
List<Horse> allHorses = new List<Horse>();
foreach(string name in arrayNames)
{
    horses.Add(new Horse(){ Name = name };
}

Everyone dies - but not everyone lives

AnswerRe: Many instances of the same class by a loop Pin
V.20-Mar-14 21:42
professionalV.20-Mar-14 21:42 
AnswerRe: Many instances of the same class by a loop Pin
OriginalGriff21-Mar-14 0:27
mvaOriginalGriff21-Mar-14 0:27 
AnswerRe: Many instances of the same class by a loop Pin
BobJanova21-Mar-14 1:28
BobJanova21-Mar-14 1:28 
QuestionAny Protobuf guru's here? Have problem with outputted data. Pin
DeepToot20-Mar-14 11:23
DeepToot20-Mar-14 11:23 
AnswerRe: Any Protobuf guru's here? Have problem with outputted data. Pin
Pete O'Hanlon20-Mar-14 14:46
mvaPete O'Hanlon20-Mar-14 14:46 
GeneralRe: Any Protobuf guru's here? Have problem with outputted data. Pin
DeepToot21-Mar-14 4:29
DeepToot21-Mar-14 4:29 
QuestionWCF SSL overhead? Pin
SledgeHammer0120-Mar-14 10:35
SledgeHammer0120-Mar-14 10:35 
SuggestionRe: WCF SSL overhead? Pin
Richard MacCutchan20-Mar-14 23:41
mveRichard MacCutchan20-Mar-14 23:41 
QuestionC# Increase Hours and Minutes (TimeSpan) Pin
nicola_melc20-Mar-14 8:48
nicola_melc20-Mar-14 8:48 
AnswerRe: C# Increase Hours and Minutes (TimeSpan) Pin
Pete O'Hanlon20-Mar-14 9:01
mvaPete O'Hanlon20-Mar-14 9:01 
GeneralRe: C# Increase Hours and Minutes (TimeSpan) Pin
nicola_melc20-Mar-14 9:14
nicola_melc20-Mar-14 9:14 
GeneralRe: C# Increase Hours and Minutes (TimeSpan) Pin
Pete O'Hanlon20-Mar-14 9:14
mvaPete O'Hanlon20-Mar-14 9:14 
QuestionWPF problem with ScrollViewer Pin
Federico Barbieri20-Mar-14 7:50
Federico Barbieri20-Mar-14 7:50 
QuestionRe: WPF problem with ScrollViewer Pin
Kenneth Haugland20-Mar-14 21:43
mvaKenneth Haugland20-Mar-14 21:43 
SuggestionRe: WPF problem with ScrollViewer Pin
Richard MacCutchan20-Mar-14 23:40
mveRichard MacCutchan20-Mar-14 23:40 
GeneralRe: WPF problem with ScrollViewer Pin
Federico Barbieri21-Mar-14 0:47
Federico Barbieri21-Mar-14 0:47 
Question//solved// help making class available to all Pin
Bosskardo20-Mar-14 5:19
Bosskardo20-Mar-14 5:19 

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.